From 8f3088cddcbe277d606ecad45e702641f8156873 Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Tue, 26 Nov 2002 13:01:45 +0000 Subject: fixed libs loading svn path=/trunk/; revision=259 --- externals/build/linux/makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'externals/build') 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" -- cgit v1.2.1