aboutsummaryrefslogtreecommitdiff
path: root/sndfiler
diff options
context:
space:
mode:
Diffstat (limited to 'sndfiler')
-rwxr-xr-xsndfiler/src/Makefile.pd_main6
1 files changed, 4 insertions, 2 deletions
diff --git a/sndfiler/src/Makefile.pd_main b/sndfiler/src/Makefile.pd_main
index 1b4c5ca..195d396 100755
--- a/sndfiler/src/Makefile.pd_main
+++ b/sndfiler/src/Makefile.pd_main
@@ -96,11 +96,13 @@ pd_darwin: $(NAME).pd_darwin
CC_DARWIN = -pthread
LD_DARWIN = -bundle -undefined suppress -flat_namespace \
- -bundle_loader $(PD_PATH)/bin/pd --export-dynamic
+ -bundle_loader $(PD_PATH)/bin/pd --export-dynamic \
+ -L/sw/lib -L/opt/local/lib -lsndfile \
+ $(THREADLIB_PATH)/threadlib.pd_darwin
.c.pd_darwin:
$(CC) $(CC_FLAGS) $(CC_DARWIN) $(INCLUDE) -o $*.o -c $*.c
- $(LD) $(LD_DARWIN) $*.pd_linux $*.o $(LIB)
+ $(LD) $(LD_DARWIN) -o $*.pd_linux $*.o $(LIB)
chmod 755 $*.pd_darwin
@test -d ../bin || mkdir -p ../bin
cp $*.pd_darwin ../bin