Mercurial > hg > piper-cpp
changeset 250:0701519bb35b
Force use of .a from vamp-plugin-sdk dir
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Thu, 15 Jun 2017 11:52:57 +0100 |
parents | 9142c859e636 |
children | 41bbfede402a |
files | Makefile vamp-client/qt/test.pro |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Thu Jun 15 10:21:55 2017 +0100 +++ b/Makefile Thu Jun 15 11:52:57 2017 +0100 @@ -9,7 +9,7 @@ CFLAGS := -Wall -std=c99 $(OPTFLAGS) $(INCFLAGS) CXXFLAGS := -Wall -Wextra -Werror -Wno-error=unused-parameter -std=c++11 $(OPTFLAGS) $(INCFLAGS) -LDFLAGS := -L$(VAMPSDK_DIR) -L/usr/local/lib -lvamp-hostsdk -lcapnp -lkj +LDFLAGS := $(VAMPSDK_DIR)/libvamp-hostsdk.a -L/usr/local/lib -lcapnp -lkj LDFLAGS += -ldl
--- a/vamp-client/qt/test.pro Thu Jun 15 10:21:55 2017 +0100 +++ b/vamp-client/qt/test.pro Thu Jun 15 11:52:57 2017 +0100 @@ -14,9 +14,9 @@ VAMPSDK_DIR = ../../../vamp-plugin-sdk PIPER_DIR = ../../../piper -QMAKE_CXXFLAGS = -I$$VAMPSDK_DIR -I.. -I../.. +QMAKE_CXXFLAGS = -I$$VAMPSDK_DIR -I/usr/local/lib -I.. -I../.. -LIBS += -L/usr/local/lib -lcapnp -lkj -L$$VAMPSDK_DIR -lvamp-hostsdk +LIBS += $$VAMPSDK_DIR/libvamp-hostsdk.a -L/usr/local/lib -lcapnp -lkj # Using the "console" CONFIG flag above should ensure this happens for # normal Windows builds, but this may be necessary when cross-compiling