aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
Diffstat (limited to 'externals')
-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"