aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
authorGeorg Holzmann <grholzi@users.sourceforge.net>2007-01-08 18:32:09 +0000
committerGeorg Holzmann <grholzi@users.sourceforge.net>2007-01-08 18:32:09 +0000
commiteeb683e744ee1eebe14d58ebda8f6f0aa012e7b2 (patch)
tree02b3de8d69192c73bb1568be77c8d29e2e2698c1 /externals
parent05d5bf26e4d633bbeeb2d9b567331d5eeaaed071 (diff)
pdcontainer and adaptive didn't compile on osx (strip problem)
svn path=/trunk/; revision=7239
Diffstat (limited to 'externals')
-rw-r--r--externals/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/externals/Makefile b/externals/Makefile
index 58933633..60220674 100644
--- a/externals/Makefile
+++ b/externals/Makefile
@@ -2252,20 +2252,21 @@ LIBPDC_TARGET = $(externals_src)/grh/PDContainer/src/libpdc.$(DYLIB_EXTENSION)
# the pd externals (linked to libpdc)
PDCONTAINER_SRC = $(wildcard $(externals_src)/grh/PDContainer/src/h_*.cpp)
PDCONTAINER_TARGETS = $(PDCONTAINER_SRC:.cpp=.$(EXTENSION))
+PDCONTAINER_LD = -L$(externals_src)/grh/PDContainer/src
pdcontainer: $(PDCONTAINER_TARGETS)
$(PDCONTAINER_TARGETS) : %.$(EXTENSION) : libpdc
$(CXX) $(CXXFLAGS) $(PDCONTAINER_INCLUDE) -o "$*.o" -c "$*.cpp"
- $(CXX) $(LDFLAGS) -o $*.$(EXTENSION) "$*.o" $(LIBS) $(LIBPDC_TARGET)
- strip --strip-unneeded $*.$(EXTENSION)
+ $(CXX) $(LDFLAGS) $(PDCONTAINER_LD) -o $*.$(EXTENSION) "$*.o" $(LIBS) -lpdc
+ $(STRIP) $*.$(EXTENSION)
chmod 755 $*.$(EXTENSION)
-rm -f -- "$*.o"
libpdc: $(LIBPDC_OBJ)
$(CXX) $(LDFLAGS) -o $(LIBPDC_TARGET) $(LIBPDC_OBJ) $(LIBS)
- strip --strip-unneeded $(LIBPDC_TARGET)
+ $(STRIP) $(LIBPDC_TARGET)
chmod 755 $(LIBPDC_TARGET)
-rm -f -- $(LIBPDC_OBJ)
@@ -2312,7 +2313,7 @@ adaptive: $(ADAPTIVE_TARGETS)
$(ADAPTIVE_TARGETS) : %.$(EXTENSION) : %.o $(ADAPTIVE_OBJECTS)
$(CC) $(LDFLAGS) -o $*.$(EXTENSION) "$*.o" $(externals_src)/grh/adaptive/src/adaptive.o $(LIBS)
- strip --strip-unneeded $*.$(EXTENSION)
+ $(STRIP) $*.$(EXTENSION)
chmod 755 $*.$(EXTENSION)
rm -f -- "$*.o"