aboutsummaryrefslogtreecommitdiff
path: root/externals/build
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2003-08-01 11:34:57 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2003-08-01 11:34:57 +0000
commit0dcdd827ba312d0624c9eb169d3970dd4386a4f6 (patch)
tree7688cff239ff5ca0c6ae021b35bf9d64d6972881 /externals/build
parent18dbae9c9ffe5baa09e220c9f74af2dd7c0aa3f5 (diff)
added -fPIC and linking with gcc
svn path=/trunk/; revision=811
Diffstat (limited to 'externals/build')
-rw-r--r--externals/build/linux/makefile2
1 files changed, 1 insertions, 1 deletions
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