Browse Source

Only build and install VST plugin if backend is available

tags/1.9.8
falkTX 7 years ago
parent
commit
a997daafa4
2 changed files with 4 additions and 0 deletions
  1. +2
    -0
      Makefile
  2. +2
    -0
      source/plugin/Makefile

+ 2
- 0
Makefile 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

# --------------------------------------------------------------------------------------------------------------------


+ 2
- 0
source/plugin/Makefile 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

# ----------------------------------------------------------------------------------------------------------------------------



Loading…
Cancel
Save