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 | 96e64c192a846ee621f43c1f1c8a61a38683956e (patch) | |
tree | 4bbc02d771dc3f76eaecf985c518a149acbe34a4 /src | |
parent | f3b69e7579c2327a28e1a6077a38e0a53dd7b596 (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/ann/; revision=11724
Diffstat (limited to 'src')
-rw-r--r-- | src/makefile.linux | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefile.linux b/src/makefile.linux index 7dc8579..bfef6e9 100644 --- a/src/makefile.linux +++ b/src/makefile.linux @@ -60,7 +60,7 @@ DEFS = -DPD #CFLAGS = -O2 -g -Wall $(LINCLUDE) $(UCFLAGS) $(AFLAGS) CFLAGS = $(OPTIMIZE_FLAGS) -fomit-frame-pointer -fPIC -Wall $(LINCLUDE) $(UCFLAGS) $(AFLAGS) $(DEFS) -LDFLAGS = -Wl,-export_dynamic -shared +LDFLAGS = -Wl,--export-dynamic -shared LIBS = -lc -lm -lfann # here come the targets |