diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-09 17:34:48 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-09 17:34:48 +0000 |
commit | e526650c187a2e380277f18f1c6b03d22dbc3e98 (patch) | |
tree | e4a1718e6ff7441aa8f56f470637a711aa7280ce /makefile.sub | |
parent | 299c6cbbaa07e1cd5266f0cade4f73105d645708 (diff) |
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/ggee/; revision=11724
Diffstat (limited to 'makefile.sub')
-rw-r--r-- | makefile.sub | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/makefile.sub b/makefile.sub index 684d3ed..52a1007 100644 --- a/makefile.sub +++ b/makefile.sub @@ -24,7 +24,7 @@ INCLUDES = -I.. -I../include %.pd_linux: %.c $(CC) $(CFLAGS) $(INCLUDES) -o "$*.o" -c $*.c - gcc -Wl,-export_dynamic -shared -o "$*.pd_linux" "$*.o" -lc -lm + gcc -Wl,--export-dynamic -shared -o "$*.pd_linux" "$*.o" -lc -lm chmod a-x "$*.pd_linux" rm -f "$*.o" |