summaryrefslogtreecommitdiff
path: root/chart2/Library_chartopengl.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-02-03 17:06:55 +0100
committerTor Lillqvist <tml@collabora.com>2014-02-03 17:48:26 +0100
commit26cb65db74d67fc2561a495018d0f580c31202bc (patch)
tree4cc27b162370eb7fcbbeca81b82b33d037ad7bb0 /chart2/Library_chartopengl.mk
parentb6ba651fa9ed4b79605b74f4b3073db654071013 (diff)
Make the OpenGL stuff in chart2 compile for OS X (but definitely won't work)
Change-Id: I487fcd12bf90e8ce2c05743244858f7b5145c355
Diffstat (limited to 'chart2/Library_chartopengl.mk')
-rw-r--r--chart2/Library_chartopengl.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/chart2/Library_chartopengl.mk b/chart2/Library_chartopengl.mk
index 8cf8385fbc8c..0aa6340aa140 100644
--- a/chart2/Library_chartopengl.mk
+++ b/chart2/Library_chartopengl.mk
@@ -62,6 +62,10 @@ $(eval $(call gb_Library_use_system_win32_libs,chartopengl,\
gdi32 \
glu32 \
))
+else ifeq ($(OS),MACOSX)
+$(eval $(call gb_Library_use_system_darwin_frameworks,chartopengl,\
+ OpenGL \
+))
else ifeq ($(OS),LINUX)
$(eval $(call gb_Library_add_libs,chartopengl,\
-ldl \