Dont include Carla on wasm builds

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-07-06 16:52:22 +01:00
parent 6fcb422b03
commit 793d407db4
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
2 changed files with 7 additions and 2 deletions

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