[gimp] app: add -framework Carbon to LDFLAGS on OSX
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add -framework Carbon to LDFLAGS on OSX
- Date: Sun, 9 Sep 2012 18:09:51 +0000 (UTC)
commit 205645b1636c4a554bde8c07e15aae2458b99b44
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.
app/Makefile.am | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/app/Makefile.am b/app/Makefile.am
index b4eb681..7a061e7 100644
--- a/app/Makefile.am
+++ b/app/Makefile.am
@@ -87,6 +87,10 @@ libapp_a_SOURCES = $(libapp_sources) $(libapp_generated_sources)
gimp_ GIMP_APP_VERSION@_SOURCES = $(libapp_sources) main.c
+if PLATFORM_OSX
+framework_carbon = -framework Carbon
+endif
+
if OS_WIN32
win32_ldflags = -mwindows $(WIN32_LARGE_ADDRESS_AWARE)
endif
@@ -180,6 +184,7 @@ gimpconsoleldadd = \
gimp_ GIMP_APP_VERSION@_LDFLAGS = \
$(AM_LDFLAGS) \
$(win32_ldflags) \
+ $(framework_carbon) \
-Wl,-u,$(SYMPREFIX)gimp_lebl_dialog
gimp_ GIMP_APP_VERSION@_LDADD = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]