summaryrefslogtreecommitdiff
path: root/chart2/Library_chartopengl.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-12-12 01:24:07 +0100
committerMatúš Kukan <matus@libreoffice.org>2015-12-12 10:03:37 +0000
commit6ac9a4f0a36677216660b29e26ce99c3b0a51e36 (patch)
tree5f081f2e47488e6bcb43d6d05e3d4001c6072e4c /chart2/Library_chartopengl.mk
parentaacf715527f73b3c3eda65e43a74975bc653586f (diff)
Make .mk files more portable
Replace some -ldl by $(DLOPEN_LIBS) Add some FREEBSD tests Change-Id: Ic30fe29b938d877694db2927775f89de15c02d87 Reviewed-on: https://gerrit.libreoffice.org/20652 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Matúš Kukan <matus@libreoffice.org>
Diffstat (limited to 'chart2/Library_chartopengl.mk')
-rw-r--r--chart2/Library_chartopengl.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/Library_chartopengl.mk b/chart2/Library_chartopengl.mk
index 2ed86f0cd253..95ea58d8562a 100644
--- a/chart2/Library_chartopengl.mk
+++ b/chart2/Library_chartopengl.mk
@@ -65,9 +65,9 @@ else ifeq ($(OS),MACOSX)
$(eval $(call gb_Library_use_system_darwin_frameworks,chartopengl,\
OpenGL \
))
-else ifeq ($(OS),LINUX)
+else ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS)))
$(eval $(call gb_Library_add_libs,chartopengl,\
- -ldl \
+ $(DLOPEN_LIBS) \
-lGL \
-lX11 \
))