[gimp/gimp-2-8] app: add -framework Carbon to LDFLAGS on OSX



commit 5ab02157944e88f97e90bc14cbb19d50d5ddb46a
Author: Michael Natterer <mitch gimp org>
Date:   Sun Sep 9 20:08:18 2012 +0200

    app: add -framework Carbon to LDFLAGS on OSX
    
    I have no clue how anyone was able to build since this
    got broken.
    (cherry picked from commit 205645b1636c4a554bde8c07e15aae2458b99b44)

 app/Makefile.am |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/app/Makefile.am b/app/Makefile.am
index cba479e..5921b86 100644
--- a/app/Makefile.am
+++ b/app/Makefile.am
@@ -89,6 +89,10 @@ libapp_a_SOURCES = $(libapp_sources) $(libapp_generated_sources)
 gimp_2_8_SOURCES = $(libapp_sources) main.c
 
 
+if PLATFORM_OSX
+framework_carbon = -framework Carbon
+endif
+
 if OS_WIN32
 win32_ldflags = -mwindows $(WIN32_LARGE_ADDRESS_AWARE)
 endif
@@ -179,7 +183,10 @@ gimpconsoleldadd = \
 	$(INTLLIBS)			\
 	$(RT_LIBS)
 
-gimp_2_8_LDFLAGS = $(AM_LDFLAGS) $(win32_ldflags)
+gimp_2_8_LDFLAGS = \
+	$(AM_LDFLAGS)		\
+	$(win32_ldflags)	\
+	$(framework_carbon)
 
 gimp_2_8_LDADD = \
 	gui/libappgui.a		\



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]