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 | e959167bae830f5474acc82b74fd10cd64bcfd03 (patch) | |
tree | 443035da64e6d46b288d46ee82c4fa02a973895b | |
parent | e6721e26417291d6292d74854f6df4bf8ede4568 (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/markex/; revision=11724
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -49,14 +49,14 @@ $(OTARGETS): %.o_linux : %.c $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o_linux -c $*.c
$(TARGETS): %.pd_linux : %.o_linux
- $(LD) -export_dynamic -shared -o $*.pd_linux $*.o_linux -lc -lm
+ $(LD) --export-dynamic -shared -o $*.pd_linux $*.o_linux -lc -lm
strip --strip-unneeded $*.pd_linux
pd_linux: $(TARGETS)
MarkEx.pd_linux: $(OTARGETS)
$(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o MarkEx.o_linux -c MarkEx.c
- $(LD) -export_dynamic -shared -o MarkEx.pd_linux *.o_linux -lc -lm
+ $(LD) --export-dynamic -shared -o MarkEx.pd_linux *.o_linux -lc -lm
strip --strip-unneeded MarkEx.pd_linux
# ----------------------- CLEAN -----------------------
|