aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-06-09 17:34:48 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-06-09 17:34:48 +0000
commit58c9003b6bb3e4bdc30e0de7e4d6bd02db285448 (patch)
tree45d269fa5e7032e8921b0f316efc792c5d2e368f
parentca5247859eab7ef0e0a35cea20a5d2ceb9628d90 (diff)
replaced -export_dynamic with --export-dynamic and -Wl,--export-dynamic whereHEADsvn2git-headexternals/clr
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/clr/; revision=11724
-rw-r--r--makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefile b/makefile
index 12f458e..751bb09 100644
--- a/makefile
+++ b/makefile
@@ -25,4 +25,4 @@ MONOLIB = -L$(MONOPATH)/lib -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -licon
.cpp.dll:
g++ $(CFLAGS) $(PDINC) $(MONOINC) -o $*.o -c $*.cpp
- g++ -export_dynamic -shared -mno-cygwin $(PDLIB) -o $*.dll $*.o $(MONOLIB) -lm
+ g++ --export-dynamic -shared -mno-cygwin $(PDLIB) -o $*.dll $*.o $(MONOLIB) -lm