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 | ed55bb3e89a7c9fb75b63896f4728054776fd1de (patch) | |
tree | 2c53074cfda2abb1d88b93a0f70096a67f48f1ff /stkdrone~/Makefile | |
parent | c061dbd1de6473954414365e929051e00ebc4dc2 (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/unauthorized/; revision=11724
Diffstat (limited to 'stkdrone~/Makefile')
-rw-r--r-- | stkdrone~/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stkdrone~/Makefile b/stkdrone~/Makefile index 705caad..e752f01 100644 --- a/stkdrone~/Makefile +++ b/stkdrone~/Makefile @@ -21,7 +21,7 @@ LINUXINCLUDE = -I../../src -I/usr/local/include .cc.pd_linux: drone.o g++ -O3 -Wall -D__OS_Linux_ -g -I$(STK_HOME)/include -c drone.cc g++ $(LINUXCCFLAGS) $(LINUXINCLUDE) -I$(STK_HOME)/include -o $*.o -c $*.cc - g++ -export_dynamic -shared -o $*.pd_linux *.o $(STK_HOME)/src/libstk.a -lc -lm -lpthread + g++ --export-dynamic -shared -o $*.pd_linux *.o $(STK_HOME)/src/libstk.a -lc -lm -lpthread strip --strip-unneeded $*.pd_linux rm -f *.o ../$*.pd_linux ln -s $*/$*.pd_linux .. |