From 21dec2a13433f7b9518aec0059caae2780be0dde Mon Sep 17 00:00:00 2001 From: Henrik Brautaset Aronsen Date: Sun, 7 Oct 2012 16:39:17 +0200 Subject: 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 Signed-off-by: Dirk Hohndel --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') 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) -- cgit v1.2.3-70-g09d2