* minor build fixes
authorChris Cannam <cannam@all-day-breakfast.com>
Tue, 2 Dec 2008 12:23:28 +0000 (12:23 +0000)
committerChris Cannam <cannam@all-day-breakfast.com>
Tue, 2 Dec 2008 12:23:28 +0000 (12:23 +0000)
Makefile
plugins/Notes.cpp
vamp-plugin.list [new file with mode: 0644]

index b88834a..358564a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ PLUGIN_LDFLAGS        = -shared -Wl,-Bsymbolic -static-libgcc -Wl,--version-script=vamp
 PLUGIN_EXT     = .so
 
 ## For OS/X with g++:
-#PLUGIN_LDFLAGS        = -dynamiclib
+#PLUGIN_LDFLAGS        = -dynamiclib -exported_symbols_list=vamp-plugin.list
 #PLUGIN_EXT    = .dylib
 
 
index 11a73c2..5c1fd3d 100644 (file)
@@ -17,6 +17,8 @@
 #include <math.h>
 #include "Notes.h"
 
+#include <algorithm>
+
 using std::string;
 using std::vector;
 using std::cerr;
diff --git a/vamp-plugin.list b/vamp-plugin.list
new file mode 100644 (file)
index 0000000..47a3e77
--- /dev/null
@@ -0,0 +1 @@
+_vampGetPluginDescriptor