..., 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
b5b1eae538a9 Add HAVE_(UNIX_)DLAPI config header define
config_host.mk.in | 2 +-
config_host/config_global.h.in | 7 ++++
configure.ac | 25 +++++++++----
desktop/Library_crashreport.mk | 2 +-
include/osl/module.h | 2 ++
libreofficekit/Executable_gtktiledviewer.mk | 2 +-
libreofficekit/Executable_tilebench.mk | 2 +-
libreofficekit/Library_libreofficekitgtk.mk | 2 +-
sal/osl/unx/module.cxx | 50 ++++++++++++++------------
solenv/gbuild/LinkTarget.mk | 2 +-
vcl/Library_desktop_detector.mk | 2 +-
vcl/Library_vcl.mk | 2 +-
vcl/StaticLibrary_glxtest.mk | 2 +-
vcl/headless/CairoCommon.cxx | 9 ++---
vcl/unx/generic/glyphs/freetype_glyphcache.cxx | 8 ++++-
15 files changed, 75 insertions(+), 44 deletions(-)
Upstream: cgit.freedesktop.org