summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-10-17 12:36:35 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-11-19 13:47:39 +0100
commite85751488d566622ddc5154095eac3e4215d14f4 (patch)
treec347a1ae087db2487aab323a14cf434a205678fa /chart2
parent678008264f8d8278b889d20b086d6fdba6303aae (diff)
try to make it build on windows
Change-Id: I1bc87e1c84926699a80a2bb0a9ee789e92663dfc
Diffstat (limited to 'chart2')
-rw-r--r--chart2/Library_chartopengl.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/chart2/Library_chartopengl.mk b/chart2/Library_chartopengl.mk
index da71c21a00dd..88c8e5f665ae 100644
--- a/chart2/Library_chartopengl.mk
+++ b/chart2/Library_chartopengl.mk
@@ -35,7 +35,11 @@ $(eval $(call gb_Library_add_exception_objects,chartopengl,\
chart2/source/view/main/DummyXShape \
))
-ifeq ($(OS),LINUX)
+ifeq ($(strip $(OS)),WNT)
+$(eval $(call gb_Library_use_system_win32_libs,chartopengl,\
+ opengl32 \
+))
+else ifeq ($(OS),LINUX)
$(eval $(call gb_Library_add_libs,chartopengl,\
-ldl \
-lGL \