aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-06-02 23:19:35 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-06-02 23:19:35 +0000
commit6f8df40266ad7280808eee9f7838d9aafc07ae93 (patch)
tree16a13c52c76ee3898da15d1ff8668e63bbe873cf /externals
parent9ed8bacb8394a853a907519c07b4feef0ffc9248 (diff)
added DL_OPEN macro for hexloader
svn path=/trunk/; revision=11631
Diffstat (limited to 'externals')
-rw-r--r--externals/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/externals/Makefile b/externals/Makefile
index 646bc9ff..cf818477 100644
--- a/externals/Makefile
+++ b/externals/Makefile
@@ -52,7 +52,7 @@ ifeq ($(OS_NAME),darwin)
FAT_FLAGS = -arch ppc -arch ppc64 -arch i386
# 10.5 Leopard
# FAT_FLAGS = -arch ppc -arch ppc7400 -arch ppc64 -arch i386 -arch x86_64
- CFLAGS += -I/sw/include -I$(externals_src)/pdp/include -DMACOSX -DUNIX -Dunix
+ CFLAGS += -I/sw/include -I$(externals_src)/pdp/include -DMACOSX -DUNIX -Dunix -DDL_OPEN
LDFLAGS += -bundle -bundle_loader $(pd_src)/bin/pd -undefined dynamic_lookup \
-L/sw/lib -weak_framework Carbon
LIBS += -lc
@@ -60,7 +60,7 @@ ifeq ($(OS_NAME),darwin)
STRIP = strip -x
endif
ifeq ($(OS_NAME),linux)
- CFLAGS += -I$(externals_src)/pdp/include -DUNIX -Dunix -fPIC
+ CFLAGS += -I$(externals_src)/pdp/include -DUNIX -Dunix -DDL_OPEN -fPIC
LDFLAGS += -Wl,-export_dynamic -shared
LIBS += -lc
DYLIB_LDFLAGS = $(LDFLAGS)