summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorGleb Popov <6yearold@gmail.com>2020-10-16 16:27:18 +0400
committerMichael Stahl <michael.stahl@cib.de>2020-10-17 12:57:46 +0200
commit31373fa085b9985f315b10f008eca5e1a15cc6c7 (patch)
tree5b0c888ff1d9733fceeed1cecb9a0453e95ab155 /vcl
parentf25f804b0009f026cfac665bb8ec03b4656d81fb (diff)
Extend the conditional to *BSD systems to fix linking issue.
While there, use DLOPEN_LIBS variable instead of "-ldl" constant. Change-Id: I5fb42b216afb6ea2a7b40fb1479c474c89e0706e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104432 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/Executable_visualbackendtest.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/Executable_visualbackendtest.mk b/vcl/Executable_visualbackendtest.mk
index 41c641a5ff14..c6c0d237018a 100644
--- a/vcl/Executable_visualbackendtest.mk
+++ b/vcl/Executable_visualbackendtest.mk
@@ -41,10 +41,10 @@ $(eval $(call gb_Executable_use_static_libraries,visualbackendtest,\
vclmain \
))
-ifeq ($(OS),LINUX)
+ifneq (, $(filter LINUX %BSD, $(OS)))
$(eval $(call gb_Executable_add_libs,visualbackendtest,\
-lm \
- -ldl \
+ $(DLOPEN_LIBS) \
-lX11 \
))