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>
This commit is contained in:
Rene Engelhard
2019-11-06 13:31:58 +01:00
parent f7bc0204a8
commit 5e73b07c36
+6 -1
View File
@@ -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 \
))