From 2e8ffe51549ac9b09300bdf9e40773e6f680016d Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 26 Jan 2010 21:14:56 +0000 Subject: on Mac OS X, look for a 'pd' binary and use it as the -bundle_loader if found svn path=/trunk/externals/ext13/; revision=13099 --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b882bf9..671e0eb 100644 --- a/Makefile +++ b/Makefile @@ -82,6 +82,8 @@ ifeq ($(UNAME),Darwin) FAT_FLAGS = -arch i386 -arch ppc -mmacosx-version-min=10.4 CFLAGS += $(FAT_FLAGS) -fPIC -I/sw/include LDFLAGS += $(FAT_FLAGS) -bundle -undefined dynamic_lookup -L/sw/lib + # if the 'pd' binary exists, check the linking against it to aid with stripping + LDFLAGS += $(shell test -e $(PD_PATH)/bin/pd && echo -bundle_loader $(PD_PATH)/bin/pd) LIBS += -lc STRIP = strip -x DISTDIR=$(LIBRARY_NAME)-$(LIBRARY_VERSION) -- cgit v1.2.1