Kaydet (Commit) ba949139 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

fix MacOS build (nedd objectiveC++ flags and Coca framework)

üst 41ce86ad
......@@ -46,6 +46,18 @@ $(eval $(call gb_Library_add_defs,cairocanvas,\
))
endif
ifeq ($(OS),MACOSX)
$(eval $(call gb_Library_add_cxxflags,cairocanvas,\
-x objective-c++ -fobjc-exceptions\
))
$(eval $(call gb_Library_add_libs,cairocanvas,\
-framework Cocoa \
))
endif
$(eval $(call gb_Library_add_linked_libs,cairocanvas,\
sal \
cppu \
......@@ -97,7 +109,6 @@ $(eval $(call gb_Library_add_exception_objects,cairocanvas,\
canvas/source/cairo/cairo_quartz_cairo \
))
#CFLAGSCXX+=$(OBJCXXFLAGS)
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment