summaryrefslogtreecommitdiff
path: root/editors/libreoffice/files/patch-vcl_Library__vcl.mk
blob: b41d223e9afb970d6a0c4ae1533eb0019845cc94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- vcl/Library_vcl.mk.orig	2017-05-03 16:46:29 UTC
+++ vcl/Library_vcl.mk
@@ -643,13 +643,12 @@ else
     vcl/source/opengl/OpenGLHelper \
     vcl/source/window/openglwin \
  ))
-ifeq ($(OS),LINUX)
+ifeq ($(OS), $(filter LINUX %BSD, $(OS)))
 $(eval $(call gb_Library_add_libs,vcl,\
-	-lm \
-	-ldl \
+	-lm $(DLOPEN_LIBS) \
 	-lpthread \
-    -lGL \
-    -lX11 \
+	-lGL \
+	-lX11 \
 ))
 endif
 endif