Browse Source

Dont include Carla on wasm builds

Signed-off-by: falkTX <falktx@falktx.com>
tags/22.07
falkTX 2 years ago
parent
commit
793d407db4
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 7 additions and 2 deletions
  1. +2
    -0
      plugins/Makefile
  2. +5
    -2
      plugins/plugins.cpp

+ 2
- 0
plugins/Makefile View File

@@ -213,7 +213,9 @@ endif

ifneq ($(STATIC_BUILD),true)
PLUGIN_FILES += Cardinal/src/AudioFile.cpp
ifneq ($(WASM),true)
PLUGIN_FILES += Cardinal/src/Carla.cpp
endif
PLUGIN_FILES += Cardinal/src/Ildaeil.cpp
ifneq ($(HEADLESS),true)
ifeq ($(HAVE_X11),true)


+ 5
- 2
plugins/plugins.cpp View File

@@ -908,13 +908,16 @@ static void initStatic__Cardinal()
#endif
#ifndef STATIC_BUILD
p->addModel(modelAudioFile);
p->addModel(modelCarla);
p->addModel(modelIldaeil);
#else
spl.removeModule("AudioFile");
spl.removeModule("Carla");
spl.removeModule("Ildaeil");
#endif
#if !(defined(DISTRHO_OS_WASM) || defined(STATIC_BUILD))
p->addModel(modelCarla);
#else
spl.removeModule("Carla");
#endif
#ifndef HEADLESS
p->addModel(modelSassyScope);
#else


Loading…
Cancel
Save