Only build and install VST plugin if backend is available

This commit is contained in:
falkTX 2017-07-31 11:23:05 +02:00
parent 36e2ceb5a1
commit a997daafa4
2 changed files with 4 additions and 0 deletions

View File

@ -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
# --------------------------------------------------------------------------------------------------------------------

View File

@ -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
# ----------------------------------------------------------------------------------------------------------------------------