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
commit00f6dfb440cfbdedaffb24a339bb87063bacf484 (patch)
tree03956b6a383e6d6668cda5c6edc2e5a5945703b2
parent22c887bcf77c0b40aaeffbe18a8a5afcc77b03e3 (diff)
replaced -export_dynamic with --export-dynamic and -Wl,--export-dynamic whereHEADsvn2git-headexternals/loaders/urloader
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/loaders/urloader/; revision=11724
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d85ac8d..33f5fc2 100644
--- a/Makefile
+++ b/Makefile
@@ -78,7 +78,7 @@ else
LINUXCFLAGS += -O2
endif
-LINUXLDFLAGS = -export_dynamic -shared -lc -lm
+LINUXLDFLAGS = --export-dynamic -shared -lc -lm
LINUXLIBS = -lcurl
LINUXINCLUDE = -I$(PDSRCDIR)
@@ -159,7 +159,7 @@ MINGWCFLAGS = $(DEFINES) -O2 -funroll-loops -fomit-frame-pointer \
-Wall -W -Wshadow -Wstrict-prototypes -Werror \
-Wno-unused -Wno-parentheses -Wno-switch -mms-bitfields
-MINGWLDFLAGS = -export_dynamic -shared -lm -lkernel32 -lcoldname -lcrtdll -lpd -L$(PDLIBDIR)
+MINGWLDFLAGS = --export-dynamic -shared -lm -lkernel32 -lcoldname -lcrtdll -lpd -L$(PDLIBDIR)
MINGWINCLUDE = -I$(PDSRCDIR)