changeset 157:16b2eb26f8ca

Don't rely on having Vamp SDK in a particular location
author Chris Cannam
date Thu, 04 Dec 2014 11:35:40 +0000
parents 640875946077
children 55c2dacd0d34
files Makefile.linux
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.linux	Wed Aug 06 16:02:25 2014 +0100
+++ b/Makefile.linux	Thu Dec 04 11:35:40 2014 +0000
@@ -5,7 +5,6 @@
 
 VAMP_SDK_DIR = ../vamp-plugin-sdk
 
-
 ARCHFLAGS = -O3 -ftree-vectorize -ffast-math
 #ARCHFLAGS = -g
 
@@ -13,7 +12,7 @@
 CXXFLAGS += $(ARCHFLAGS) -I$(VAMP_SDK_DIR) -Wall -fPIC
 PLUGIN_EXT = .so
 PLUGIN = $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT)
-LDFLAGS += -shared -Wl,-soname=$(PLUGIN) $(VAMP_SDK_DIR)/libvamp-sdk.a -Wl,--version-script=vamp-plugin.map 
+LDFLAGS += -shared -Wl,-soname=$(PLUGIN) -L$(VAMP_SDK_DIR) -lvamp-sdk -Wl,--version-script=vamp-plugin.map 
 
 
 $(PLUGIN): $(PLUGIN_CODE_OBJECTS)