changeset 56:50f1e5afb1ef

Must have pthread to avoid crashing if a plugin uses threads (on Linux)
author Chris Cannam
date Thu, 03 Sep 2015 11:33:58 +0100
parents 436a14a12242
children fc05ac9b3947
files Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Wed Aug 12 15:23:15 2015 +0100
+++ b/Makefile	Thu Sep 03 11:33:58 2015 +0100
@@ -1,8 +1,8 @@
 
 ARCHFLAGS	?=
 
-LDFLAGS 	+= $(ARCHFLAGS) -ldl
-CXXFLAGS	+= $(ARCHFLAGS) -g -Wall -Wextra
+LDFLAGS 	+= $(ARCHFLAGS) -ldl -lpthread
+CXXFLAGS	+= $(ARCHFLAGS) -g -Wall -Wextra -Ivamp-plugin-sdk
 
 # We include the Vamp Host SDK sources in the build here, so that we
 # can build the entire thing with debug symbols even though the SDK