From 86a7c96cc4596bd41e48f6125f59fb504f9b594d Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 9 Jun 2009 17:34:48 +0000 Subject: replaced -export_dynamic with --export-dynamic and -Wl,--export-dynamic where appropriate. It seems that once upon a time -export_dynamic was a real flag. Now it means -e xport_dynamic, meaning set the entry symbol to xport_dynamic, giving this error message: /usr/bin/ld: warning: cannot find entry symbol xport_dynamic; defaulting to 0000000000001b60 svn path=/trunk/externals/jasch_lib/; revision=11724 --- detox/makefile | 2 +- memchr/makefile | 2 +- strchr/makefile | 2 +- strcut/makefile | 2 +- strlen/makefile | 2 +- strtok/makefile | 2 +- underscore/makefile | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/detox/makefile b/detox/makefile index 6e4c3db..cde42ff 100644 --- a/detox/makefile +++ b/detox/makefile @@ -68,7 +68,7 @@ LINUXINCLUDE = -I../../src -I../../../pd/src .c.pd_linux: $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c - ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm + ld --export-dynamic -shared -o $*.pd_linux $*.o -lc -lm strip --strip-unneeded $*.pd_linux rm -f $*.o diff --git a/memchr/makefile b/memchr/makefile index 14a56c1..e76fb80 100644 --- a/memchr/makefile +++ b/memchr/makefile @@ -68,7 +68,7 @@ LINUXINCLUDE = -I../../src .c.pd_linux: $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c - ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm + ld --export-dynamic -shared -o $*.pd_linux $*.o -lc -lm strip --strip-unneeded $*.pd_linux rm -f $*.o diff --git a/strchr/makefile b/strchr/makefile index 52c403a..7bcd8bd 100644 --- a/strchr/makefile +++ b/strchr/makefile @@ -68,7 +68,7 @@ LINUXINCLUDE = -I../../src .c.pd_linux: $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c - ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm + ld --export-dynamic -shared -o $*.pd_linux $*.o -lc -lm strip --strip-unneeded $*.pd_linux rm -f $*.o diff --git a/strcut/makefile b/strcut/makefile index bca7ca9..7873e2c 100644 --- a/strcut/makefile +++ b/strcut/makefile @@ -68,7 +68,7 @@ LINUXINCLUDE = -I../../src .c.pd_linux: $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c - ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm + ld --export-dynamic -shared -o $*.pd_linux $*.o -lc -lm strip --strip-unneeded $*.pd_linux rm -f $*.o diff --git a/strlen/makefile b/strlen/makefile index 2817bf1..d11cf7d 100644 --- a/strlen/makefile +++ b/strlen/makefile @@ -68,7 +68,7 @@ LINUXINCLUDE = -I../../src .c.pd_linux: $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c - ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm + ld --export-dynamic -shared -o $*.pd_linux $*.o -lc -lm strip --strip-unneeded $*.pd_linux rm -f $*.o diff --git a/strtok/makefile b/strtok/makefile index 6086bc8..0d7d300 100644 --- a/strtok/makefile +++ b/strtok/makefile @@ -68,7 +68,7 @@ LINUXINCLUDE = -I../../src .c.pd_linux: $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c - ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm + ld --export-dynamic -shared -o $*.pd_linux $*.o -lc -lm strip --strip-unneeded $*.pd_linux rm -f $*.o diff --git a/underscore/makefile b/underscore/makefile index bfbcc6a..faaa56b 100644 --- a/underscore/makefile +++ b/underscore/makefile @@ -68,7 +68,7 @@ LINUXINCLUDE = -I../../src -I../../../pd/src .c.pd_linux: $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c - ld -export_dynamic -shared -o _.pd_linux $*.o -lc -lm + ld --export-dynamic -shared -o _.pd_linux $*.o -lc -lm strip --strip-unneeded $*.pd_linux rm -f $*.o -- cgit v1.2.1