summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-28 05:56:23 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-28 05:56:23 -0800
commit6855be0f1cf801b7d5dbcbbeb720efcc3d5ab997 (patch)
tree06874f3f46146be412ffd6273851adfd7d23c12d
parent92fbbd4c22bdfd0830c8ccd1ec24eb63a75eb59b (diff)
downloadsubsurface-6855be0f1cf801b7d5dbcbbeb720efcc3d5ab997.tar.gz
OSX: also need to add the CoreServices framework to linker
We had this before - it appears that some versions of OSX need us to explicitly list the frameworks we are using during the linking stage while others are perfectly happy without that. But since listing them doesn't appear to hurt this commit should be safe. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 273448e83..a30ef0fa4 100644
--- a/Makefile
+++ b/Makefile
@@ -133,7 +133,7 @@ else ifeq ($(UNAME), darwin)
MACOSXSTAGING = $(MACOSXFILES)/Subsurface.app
INFOPLIST = $(MACOSXFILES)/Info.plist
INFOPLISTINPUT = $(INFOPLIST).in
- EXTRALIBS = $(shell $(PKGCONFIG) --libs gtk-mac-integration) -framework CoreFoundation
+ EXTRALIBS = $(shell $(PKGCONFIG) --libs gtk-mac-integration) -framework CoreFoundation -framework CoreServices
CFLAGS += $(shell $(PKGCONFIG) --cflags gtk-mac-integration)
LDFLAGS += -headerpad_max_install_names -sectcreate __TEXT __info_plist $(INFOPLIST)
GTK_MAC_BUNDLER = ~/.local/bin/gtk-mac-bundler