From e73e8453d8472dea5f03d4547a3b61f0a4035871 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 28 Nov 2007 04:45:20 +0000 Subject: made Mac OS X objects weak link to the Carbon framework to support system things in a hackish way svn path=/trunk/; revision=9061 --- externals/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'externals') diff --git a/externals/Makefile b/externals/Makefile index ad070d43..2640dad2 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -48,8 +48,9 @@ LDFLAGS = LIBS = -lm ifeq ($(OS_NAME),darwin) - CFLAGS += -I/sw/include -DMACOSX -DUNIX -Dunix - LDFLAGS += -bundle -bundle_loader $(pd_src)/bin/pd -L/sw/lib + CFLAGS += -I/sw/include -DMACOSX -DUNIX -Dunix + LDFLAGS += -bundle -bundle_loader $(pd_src)/bin/pd -L/sw/lib \ + -weak_framework Carbon LIBS += -lc DYLIB_LDFLAGS = -dynamiclib -undefined dynamic_lookup -read_only_relocs warning -L/sw/lib STRIP = strip -x -- cgit v1.2.1