From 0dcdd827ba312d0624c9eb169d3970dd4386a4f6 Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Fri, 1 Aug 2003 11:34:57 +0000 Subject: added -fPIC and linking with gcc svn path=/trunk/; revision=811 --- externals/build/linux/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/externals/build/linux/makefile b/externals/build/linux/makefile index 984546ba..4c202992 100644 --- a/externals/build/linux/makefile +++ b/externals/build/linux/makefile @@ -17,7 +17,7 @@ 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 \ + gcc -Wl,-export_dynamic -shared -o "$*.pd_linux" "$*.o" -lc -lm \ `test -f $*.libs && cat $*.libs` chmod a-x "$*.pd_linux" $(STRIP) $*.pd_linux -- cgit v1.2.1