temporarily link agains OpenGL
Change-Id: I330c9e4f0f1a1ebf0e236de9cfabdf9dc65121cf
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user