aboutsummaryrefslogtreecommitdiff
path: root/externals/build/linux
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2002-11-26 13:01:45 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2002-11-26 13:01:45 +0000
commit8f3088cddcbe277d606ecad45e702641f8156873 (patch)
treedfbc80a8baa256353f6f30355a0cae2ace3237dc /externals/build/linux
parent0301f211c4e7f681dd22467dc8661e51563798c7 (diff)
fixed libs loading
svn path=/trunk/; revision=259
Diffstat (limited to 'externals/build/linux')
-rw-r--r--externals/build/linux/makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/externals/build/linux/makefile b/externals/build/linux/makefile
index 4c3ea9b6..68a2666d 100644
--- a/externals/build/linux/makefile
+++ b/externals/build/linux/makefile
@@ -15,7 +15,8 @@ LINUXINCLUDE = -I. -I.. -I../include
%.pd_linux: ../src/%.c
$(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o "$*.o" -c "../src/$*.c"
- ld -export_dynamic -shared -o "$*.pd_linux" "$*.o" -lc -lm `cat $*.libs`
+ ld -export_dynamic -shared -o "$*.pd_linux" "$*.o" -lc -lm \
+ `test -f $*.libs && cat $*.libs`
chmod a-x "$*.pd_linux"
# strip --strip-unneeded $*.pd_linux
rm -f "$*.o"