aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--externals/Makefile5
1 files changed, 3 insertions, 2 deletions
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