summaryrefslogtreecommitdiff
path: root/editors/libreoffice6/files/patch-vcl_Executable__visualbackendtest.mk
diff options
context:
space:
mode:
Diffstat (limited to 'editors/libreoffice6/files/patch-vcl_Executable__visualbackendtest.mk')
-rw-r--r--editors/libreoffice6/files/patch-vcl_Executable__visualbackendtest.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/editors/libreoffice6/files/patch-vcl_Executable__visualbackendtest.mk b/editors/libreoffice6/files/patch-vcl_Executable__visualbackendtest.mk
new file mode 100644
index 000000000000..1c55e514d8ea
--- /dev/null
+++ b/editors/libreoffice6/files/patch-vcl_Executable__visualbackendtest.mk
@@ -0,0 +1,17 @@
+--- vcl/Executable_visualbackendtest.mk.orig 2019-08-07 01:26:35.000000000 +0800
++++ vcl/Executable_visualbackendtest.mk 2019-08-08 20:07:11.830059000 +0800
+@@ -41,11 +41,10 @@
+ vclmain \
+ ))
+
+-ifeq ($(OS),LINUX)
++ifeq ($(OS), $(filter LINUX %BSD, $(OS)))
+ $(eval $(call gb_Executable_add_libs,visualbackendtest,\
+- -lm \
+- -ldl \
+- -lX11 \
++ -lm $(DLOPEN_LIBS) \
++ -lX11 \
+ ))
+
+ $(eval $(call gb_Executable_use_static_libraries,visualbackendtest,\