diff --git a/source/native-plugins/Makefile b/source/native-plugins/Makefile index 54ddb4718..074450bf8 100644 --- a/source/native-plugins/Makefile +++ b/source/native-plugins/Makefile @@ -33,6 +33,7 @@ ifeq ($(HAVE_ZYN_DEPS),true) ZYN_CXX_FLAGS = $(BUILD_CXX_FLAGS) -Izynaddsubfx -Izynaddsubfx/rtosc ZYN_CXX_FLAGS += $(shell pkg-config --cflags fftw3 mxml zlib) ZYN_LD_FLAGS = $(shell pkg-config --libs liblo) +ZYN_LD_FLAGS += -lpthread -lrt ifeq ($(HAVE_X11),true) ZYN_CXX_FLAGS += $(shell pkg-config --cflags x11) ZYN_LD_FLAGS += $(shell pkg-config --libs x11)