summaryrefslogtreecommitdiff
path: root/vcl/Library_vcl.mk
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2022-01-18 07:29:40 +0100
committerJan-Marek Glogowski <glogow@fbihome.de>2022-01-18 13:44:53 +0100
commitb5b1eae538a902fed165d5dd93ad6ddda3c5cb70 (patch)
treeda127f648f8dfa30abae0d20a0dffe9947206e9c /vcl/Library_vcl.mk
parent31700036e517691d154701f4b8aeecb85cde607f (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 'vcl/Library_vcl.mk')
-rw-r--r--vcl/Library_vcl.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/Library_vcl.mk b/vcl/Library_vcl.mk
index 42282268b8ce..f201cb273524 100644
--- a/vcl/Library_vcl.mk
+++ b/vcl/Library_vcl.mk
@@ -648,7 +648,7 @@ $(eval $(call gb_Library_use_externals,vcl,\
$(eval $(call gb_Library_add_libs,vcl,\
$(if $(filter LINUX %BSD SOLARIS,$(OS)), \
-lm \
- $(if $(DISABLE_DYNLOADING),,$(DLOPEN_LIBS)) \
+ $(if $(DISABLE_DYNLOADING),,$(UNIX_DLAPI_LIBS)) \
) \
))