diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-11-28 04:45:20 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-11-28 04:45:20 +0000 |
commit | e73e8453d8472dea5f03d4547a3b61f0a4035871 (patch) | |
tree | f49498afa9a102ccc28d6307f404aaa74ff048c3 /externals/Makefile | |
parent | 8d22fed43bc5991f6c7ec54756289a071163bb03 (diff) |
made Mac OS X objects weak link to the Carbon framework to support system things in a hackish way
svn path=/trunk/; revision=9061
Diffstat (limited to 'externals/Makefile')
-rw-r--r-- | externals/Makefile | 5 |
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 |