summaryrefslogtreecommitdiff
path: root/editors/libreoffice/files/patch-vcl_Executable__visualbackendtest.mk
diff options
context:
space:
mode:
Diffstat (limited to 'editors/libreoffice/files/patch-vcl_Executable__visualbackendtest.mk')
-rw-r--r--editors/libreoffice/files/patch-vcl_Executable__visualbackendtest.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/editors/libreoffice/files/patch-vcl_Executable__visualbackendtest.mk b/editors/libreoffice/files/patch-vcl_Executable__visualbackendtest.mk
new file mode 100644
index 000000000000..ffacbf954b2d
--- /dev/null
+++ b/editors/libreoffice/files/patch-vcl_Executable__visualbackendtest.mk
@@ -0,0 +1,20 @@
+--- vcl/Executable_visualbackendtest.mk.orig 2017-05-03 16:46:29 UTC
++++ vcl/Executable_visualbackendtest.mk
+@@ -41,13 +41,12 @@ $(eval $(call gb_Executable_use_static_libraries,visua
+ vclmain \
+ ))
+
+-ifeq ($(OS),LINUX)
++ifeq ($(OS), $(filter LINUX %BSD, $(OS)))
+ $(eval $(call gb_Executable_add_libs,visualbackendtest,\
+- -lm \
+- -ldl \
++ -lm $(DLOPEN_LIBS) \
+ -lpthread \
+- -lGL \
+- -lX11 \
++ -lGL \
++ -lX11 \
+ ))
+
+ $(eval $(call gb_Executable_use_static_libraries,visualbackendtest,\