aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2012-10-07 16:39:17 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-10-11 21:37:54 +0900
commit21dec2a13433f7b9518aec0059caae2780be0dde (patch)
tree7f828ac560af7c30bce21390864b54fa17235737 /Makefile
parent94c98865a7a9de833e8ebb593d3db1058246e410 (diff)
downloadsubsurface-21dec2a13433f7b9518aec0059caae2780be0dde.tar.gz
More gtk-mac-bundler improvements
Without "-headerpad_max_install_names", gtk-mac-bundler would complain with "changing install names or rpaths can't be redone for: /Applications/.subsurface.app/Contents/MacOS/subsurface-bin (for architecture x86_64) because larger updated load commands do not fit" Also, libdivecomputer needs to be configured with --with-prefix=/opt/local Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a954f54a6..5db1dfc5a 100644
--- a/Makefile
+++ b/Makefile
@@ -104,6 +104,7 @@ else ifeq ($(UNAME), darwin)
MACOSXFILES = packaging/macosx
EXTRALIBS = $(shell $(PKGCONFIG) --libs gtk-mac-integration) -framework CoreFoundation
CFLAGS += $(shell $(PKGCONFIG) --cflags gtk-mac-integration)
+ LDFLAGS += -headerpad_max_install_names
else
OSSUPPORT = windows
OSSUPPORT_CFLAGS = $(GTK2CFLAGS)