From 6f8df40266ad7280808eee9f7838d9aafc07ae93 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 2 Jun 2009 23:19:35 +0000 Subject: added DL_OPEN macro for hexloader svn path=/trunk/; revision=11631 --- externals/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'externals') 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) -- cgit v1.2.1