From a997daafa4e1b056fcb0341ec8811e4023cea8d9 Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 31 Jul 2017 11:23:05 +0200 Subject: [PATCH] Only build and install VST plugin if backend is available --- Makefile | 2 ++ source/plugin/Makefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 73018e193..894e0d68c 100644 --- a/Makefile +++ b/Makefile @@ -740,6 +740,7 @@ endif ifeq ($(LINUX),true) ifeq ($(HAVE_X11),true) +ifeq ($(HAVE_PYQT),true) # Install vst plugin install -d $(DESTDIR)$(LIBDIR)/vst/carla.vst @@ -762,6 +763,7 @@ ifeq ($(HAVE_X11),true) rm -rf $(DESTDIR)$(LIBDIR)/vst/carla.vst/styles $(LINK) $(LIBDIR)/carla/styles $(DESTDIR)$(LIBDIR)/vst/carla.vst/styles endif +endif endif # -------------------------------------------------------------------------------------------------------------------- diff --git a/source/plugin/Makefile b/source/plugin/Makefile index 59b5c5d24..a6cbc4d99 100644 --- a/source/plugin/Makefile +++ b/source/plugin/Makefile @@ -108,6 +108,7 @@ TARGETS = \ ifeq ($(LINUX),true) ifeq ($(HAVE_X11),true) +ifeq ($(HAVE_PYQT),true) TARGETS += \ $(BINDIR)/CarlaRack$(LIB_EXT) \ $(BINDIR)/CarlaRackFX$(LIB_EXT) \ @@ -116,6 +117,7 @@ TARGETS += \ $(BINDIR)/CarlaPatchbayFX$(LIB_EXT) endif endif +endif # ----------------------------------------------------------------------------------------------------------------------------