diff options
-rw-r--r-- | chart2/Library_chartopengl.mk | 6 |
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 \ |