Mercurial > hg > vampy
changeset 15:5e5f2af04e86
* Some work on symbol visibility
author | cannam |
---|---|
date | Thu, 03 Jul 2008 13:29:39 +0000 |
parents | 8cd6346e755f |
children | acaa8ff2c606 |
files | Makefile Makefile.cc-linux vamp-plugin.map |
diffstat | 3 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Wed Jul 02 12:17:58 2008 +0000 +++ b/Makefile Thu Jul 03 13:29:39 2008 +0000 @@ -1,5 +1,5 @@ -CXXFLAGS := -I../vamp-plugin-sdk -O2 -Wall -I/usr/include/python2.5 +CXXFLAGS := -I../vamp-plugin-sdk -O2 -Wall -I/usr/include/python2.5 -fvisibility=hidden vampy.dylib: PyPlugin.o PyPlugScanner.o pyvamp-main.o Mutex.o g++ -shared $^ -o $@ -L../vamp-plugin-sdk/vamp-sdk -lvamp-sdk -dynamiclib -lpython2.5 -lpthread @@ -24,4 +24,4 @@ clean: rm *.o rm *$(PLUGIN_EXT) - \ No newline at end of file +
--- a/Makefile.cc-linux Wed Jul 02 12:17:58 2008 +0000 +++ b/Makefile.cc-linux Thu Jul 03 13:29:39 2008 +0000 @@ -2,7 +2,7 @@ CXXFLAGS := -I../vamp-plugin-sdk -O2 -Wall -I/usr/include/python2.5 vampy.so: PyPlugin.o PyPlugScanner.o pyvamp-main.o Mutex.o - g++ -shared $^ -o $@ -L../vamp-plugin-sdk/vamp-sdk -Wl,-Bstatic -lvamp-sdk -Wl,-Bdynamic -lpython2.5 -lpthread + g++ -shared $^ -o $@ -L../vamp-plugin-sdk/vamp-sdk -Wl,-Bstatic -lvamp-sdk -Wl,-Bdynamic -lpython2.5 -lpthread -Wl,--version-script=vamp-plugin.map clean: rm *.o