summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorRene Engelhard <rene@debian.org>2019-11-06 07:15:51 +0100
committerRene Engelhard <rene@debian.org>2019-11-06 13:31:58 +0100
commit5e73b07c36ec1e40337075b93207c438d49ca565 (patch)
tree84d8de5968ea302c73c99194d02c576e4c66d904 /vcl
parentf7bc0204a80a4f078c63f93b9892904686ad5b36 (diff)
fix --disable-gui build on 32bit (missing -ldl)
Change-Id: I66cd04efe5486459d9cc777a532925d25fbd1e86 Reviewed-on: https://gerrit.libreoffice.org/82118 Tested-by: Jenkins Reviewed-by: Rene Engelhard <rene@debian.org> Tested-by: Rene Engelhard <rene@debian.org>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/Library_vcl.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/vcl/Library_vcl.mk b/vcl/Library_vcl.mk
index 00b98cdb2929..38bce206f72f 100644
--- a/vcl/Library_vcl.mk
+++ b/vcl/Library_vcl.mk
@@ -543,6 +543,12 @@ $(eval $(call gb_Library_use_externals,vcl,\
))
endif
+ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
+$(eval $(call gb_Library_add_libs,vcl,\
+ -lm $(DLOPEN_LIBS) \
+))
+endif
+
ifeq ($(DISABLE_GUI),TRUE)
$(eval $(call gb_Library_add_exception_objects,vcl,\
vcl/unx/generic/printer/jobdata \
@@ -585,7 +591,6 @@ endif
ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
$(eval $(call gb_Library_add_libs,vcl,\
- -lm $(DLOPEN_LIBS) \
-lX11 \
-lXext \
))