Make it build for iOS again
This commit is contained in:
@@ -49,7 +49,7 @@ endif
|
||||
ifeq ($(OS),MACOSX)
|
||||
|
||||
$(eval $(call gb_Library_add_cxxflags,cairocanvas,\
|
||||
-x objective-c++ -fobjc-exceptions\
|
||||
$(gb_OBJCXXFLAGS) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_add_libs,cairocanvas,\
|
||||
@@ -58,6 +58,14 @@ $(eval $(call gb_Library_add_libs,cairocanvas,\
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(OS),IOS)
|
||||
|
||||
$(eval $(call gb_Library_add_cxxflags,cairocanvas,\
|
||||
$(gb_OBJCXXFLAGS) \
|
||||
))
|
||||
|
||||
endif
|
||||
|
||||
$(eval $(call gb_Library_add_linked_libs,cairocanvas,\
|
||||
sal \
|
||||
cppu \
|
||||
@@ -104,20 +112,16 @@ $(eval $(call gb_Library_add_linked_libs,cairocanvas,\
|
||||
|
||||
else
|
||||
|
||||
ifeq ($(OS),MACOSX)
|
||||
ifneq (,$(filter MACOSX IOS,$(OS)))
|
||||
$(eval $(call gb_Library_add_exception_objects,cairocanvas,\
|
||||
canvas/source/cairo/cairo_quartz_cairo \
|
||||
))
|
||||
|
||||
|
||||
else
|
||||
|
||||
else ifeq ($(GUIBASE),unx)
|
||||
$(eval $(call gb_Library_add_exception_objects,cairocanvas,\
|
||||
canvas/source/cairo/cairo_xlib_cairo \
|
||||
))
|
||||
|
||||
# freetype? fontconfig? -> test on Solaris
|
||||
ifeq ($(GUIBASE),unx)
|
||||
$(eval $(call gb_Library_add_linked_libs,cairocanvas,\
|
||||
X11 \
|
||||
Xrender \
|
||||
@@ -126,6 +130,4 @@ endif
|
||||
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
Reference in New Issue
Block a user