diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2022-01-18 07:29:40 +0100 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2022-01-18 13:44:53 +0100 |
commit | b5b1eae538a902fed165d5dd93ad6ddda3c5cb70 (patch) | |
tree | da127f648f8dfa30abae0d20a0dffe9947206e9c /libreofficekit | |
parent | 31700036e517691d154701f4b8aeecb85cde607f (diff) |
Add HAVE_(UNIX_)DLAPI config header define
..., add the configure test flags and rename DLOPEN_LIBS to
UNIX_DLAPI_LIBS.
Initinally convert two dlsym callers to use HAVE_DLAPI and
osl_getAsciiFunctionSymbol.
There are a lot of places, which still use -ldl and even more
direct dlsym calls; good opportunity for many simple EasyHacks.
Change-Id: I4f2d2f7cb079a075af8f9d01eb5ee45de40c7f03
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128523
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/Executable_gtktiledviewer.mk | 2 | ||||
-rw-r--r-- | libreofficekit/Executable_tilebench.mk | 2 | ||||
-rw-r--r-- | libreofficekit/Library_libreofficekitgtk.mk | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libreofficekit/Executable_gtktiledviewer.mk b/libreofficekit/Executable_gtktiledviewer.mk index 99ef51af8975..f5d6ddfc89d8 100644 --- a/libreofficekit/Executable_gtktiledviewer.mk +++ b/libreofficekit/Executable_gtktiledviewer.mk @@ -42,7 +42,7 @@ $(eval $(call gb_Executable_use_libraries,gtktiledviewer,\ ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS))) $(eval $(call gb_Executable_add_libs,gtktiledviewer,\ - -lm $(DLOPEN_LIBS) \ + -lm $(UNIX_DLAPI_LIBS) \ )) endif diff --git a/libreofficekit/Executable_tilebench.mk b/libreofficekit/Executable_tilebench.mk index ae0a3b1f099b..e4a7908dc02b 100644 --- a/libreofficekit/Executable_tilebench.mk +++ b/libreofficekit/Executable_tilebench.mk @@ -23,7 +23,7 @@ $(eval $(call gb_Executable_use_libraries,tilebench,\ )) $(eval $(call gb_Executable_add_libs,tilebench,\ - -lm $(DLOPEN_LIBS) \ + -lm $(UNIX_DLAPI_LIBS) \ )) $(eval $(call gb_Executable_add_exception_objects,tilebench,\ diff --git a/libreofficekit/Library_libreofficekitgtk.mk b/libreofficekit/Library_libreofficekitgtk.mk index 842bce6ac993..9dedd0e64b23 100644 --- a/libreofficekit/Library_libreofficekitgtk.mk +++ b/libreofficekit/Library_libreofficekitgtk.mk @@ -35,7 +35,7 @@ $(eval $(call gb_Library_add_defs,libreofficekitgtk,\ ifeq ($(OS),$(filter LINUX %BSD SOLARIS, $(OS))) $(eval $(call gb_Library_add_libs,libreofficekitgtk,\ - $(DLOPEN_LIBS) -lm \ + $(UNIX_DLAPI_LIBS) -lm \ )) endif |