summaryrefslogtreecommitdiff
path: root/editors/libreoffice/files/patch-vcl_Executable__visualbackendtest.mk
blob: 1c55e514d8ea8cd85d6a2a7569010e928d6bab31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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,\