changeset 27:281496d33a5a

Use library path
author Chris Cannam
date Mon, 16 Feb 2015 15:38:07 +0000
parents d6e96a66c4af
children c21ce05afbe4
files Makefile.linux
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.linux	Wed Feb 11 14:23:03 2015 +0000
+++ b/Makefile.linux	Mon Feb 16 15:38:07 2015 +0000
@@ -1,3 +1,4 @@
+
 
 #CXXFLAGS	:= -Wall -Wextra -Werror -g -fPIC -std=c++11
 
@@ -5,7 +6,7 @@
 
 VAMPSDK_DIR	:= ../vamp-plugin-sdk
 
-PLUGIN_LDFLAGS	:= -shared -Wl,-Bsymbolic -Wl,-z,defs -Wl,--version-script=vamp-plugin.map $(VAMPSDK_DIR)/libvamp-sdk.a
+PLUGIN_LDFLAGS	:= -shared -Wl,-Bsymbolic -Wl,-z,defs -Wl,--version-script=vamp-plugin.map -L$(VAMPSDK_DIR) -Wl,-Bstatic -lvamp-sdk -Wl,-Bdynamic
 
 PLUGIN_EXT	:= .so