From 00f6dfb440cfbdedaffb24a339bb87063bacf484 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/loaders/urloader/; revision=11724 --- Makefile | 4 ++-- 1 file 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) -- cgit v1.2.1