diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-04-08 05:06:03 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-04-08 05:06:03 +0200 |
commit | b5d0eb510a9ccde7a086ae0acfca910f4432df5c (patch) | |
tree | e580568b708950c38f6d5f21a6b8dcace484e7c7 /chart2 | |
parent | d47d8fb222e6b8e196989d0761a5c03b9669acdf (diff) |
temporarily link agains OpenGL
Change-Id: I330c9e4f0f1a1ebf0e236de9cfabdf9dc65121cf
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/Library_chartcore.mk | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/chart2/Library_chartcore.mk b/chart2/Library_chartcore.mk index e027865c9e11..aa375b21c435 100644 --- a/chart2/Library_chartcore.mk +++ b/chart2/Library_chartcore.mk @@ -248,5 +248,24 @@ $(eval $(call gb_Library_add_exception_objects,chartcore,\ chart2/source/tools/WrappedPropertySet \ chart2/source/tools/XMLRangeHelper \ )) + +ifeq ($(strip $(OS)),WNT) +$(eval $(call gb_Library_use_system_win32_libs,chartopengl,\ + opengl32 \ + 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 \ + -lGL \ + -lGLU \ + -lX11 \ +)) +endif # vim: set noet sw=4 ts=4: |