From 8c8efd2b1eeec5cf80cb6cd6739cbc70cbbc9bee Mon Sep 17 00:00:00 2001 From: falkTX Date: Fri, 10 Dec 2021 13:24:19 +0000 Subject: [PATCH] Place zyn deps in STATIC_CARLA_PLUGIN_LIBS as needed Signed-off-by: falkTX --- source/Makefile.deps.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/Makefile.deps.mk b/source/Makefile.deps.mk index c3e0195ca..130d49e4b 100644 --- a/source/Makefile.deps.mk +++ b/source/Makefile.deps.mk @@ -564,4 +564,14 @@ STATIC_CARLA_PLUGIN_LIBS += $(JUCE_GUI_EXTRA_LIBS) endif endif +ifeq ($(EXTERNAL_PLUGINS),true) +ifneq ($(DEBUG),true) +ifneq ($(TESTBUILD),true) +ifeq ($(shell $(PKG_CONFIG) --exists liblo fftw3 mxml zlib && echo true),true) +STATIC_CARLA_PLUGIN_LIBS += $(shell $(PKG_CONFIG) $(PKG_CONFIG_FLAGS) --libs liblo fftw3 mxml zlib) -pthread +endif +endif +endif +endif + # ---------------------------------------------------------------------------------------------------------------------