diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-07-24 15:59:23 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-07-24 15:59:23 -0500 |
commit | ba949139a5010b0c50909e6c6ede867b9d0be524 (patch) | |
tree | 2a9a93b023c571013e00015b1740b88b73b430c0 /canvas/Library_cairocanvas.mk | |
parent | Merge branch 'master' into feature/gnumake4 (diff) | |
download | core-ba949139a5010b0c50909e6c6ede867b9d0be524.tar.gz core-ba949139a5010b0c50909e6c6ede867b9d0be524.zip |
fix MacOS build (nedd objectiveC++ flags and Coca framework)
Diffstat (limited to 'canvas/Library_cairocanvas.mk')
-rw-r--r-- | canvas/Library_cairocanvas.mk | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/canvas/Library_cairocanvas.mk b/canvas/Library_cairocanvas.mk index c31a0b1e84a1..8ba70d7dac78 100644 --- a/canvas/Library_cairocanvas.mk +++ b/canvas/Library_cairocanvas.mk @@ -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 |