changeset 106:1912263ce998

Makefile.linux: add path to both amd64 and i686 binaries
author Paul Brossier <piem@piem.org>
date Sat, 31 Jan 2015 15:00:14 +0100
parents ed483706c930
children 945256a7a600
files Makefile.linux
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.linux	Sat Jan 31 14:59:43 2015 +0100
+++ b/Makefile.linux	Sat Jan 31 15:00:14 2015 +0100
@@ -15,10 +15,14 @@
 # Location of Vamp plugin SDK relative to the project directory
 VAMPSDK_DIR	:= ../vamp-plugin-sdk-2.5
 
+# Location of libvamp-sdk.a
+VAMPBIN_DIR_LINUX64 ?= ../vamp-plugin-sdk-2.5-binaries-amd64-linux
+VAMPBIN_DIR_LINUX32 ?= ../vamp-plugin-sdk-2.5-binaries-i686-linux
+
 # Libraries and linker flags required by plugin: add any -l<library>
 # options here
 PLUGIN_LDFLAGS	:= -shared -Wl,-Bsymbolic -Wl,-z,defs -Wl,--version-script=vamp-plugin.map
-PLUGIN_LIBS			:= $(VAMPSDK_DIR)/libvamp-sdk.a
+PLUGIN_LIBS			:= -L$(VAMPBIN_DIR_LINUX32) -L$(VAMPBIN_DIR_LINUX64) -lvamp-sdk
 
 # File extension for plugin library on this platform
 PLUGIN_EXT	:= .so