# HG changeset patch # User Chris Cannam # Date 1441276438 -3600 # Node ID 50f1e5afb1efd081f778673bfe0562b1f596acc3 # Parent 436a14a12242ea195c18076321892660c89e906a Must have pthread to avoid crashing if a plugin uses threads (on Linux) diff -r 436a14a12242 -r 50f1e5afb1ef Makefile --- 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