Browse Source

Do not use pthread on wasm builds when external plugins are enabled

Signed-off-by: falkTX <falktx@falktx.com>
pull/1775/head
falkTX 1 year ago
parent
commit
56468b4732
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      source/Makefile.deps.mk

+ 4
- 1
source/Makefile.deps.mk View File

@@ -697,7 +697,10 @@ ifeq ($(EXTERNAL_PLUGINS),true)
ifneq ($(DEBUG),true) ifneq ($(DEBUG),true)
ifneq ($(TESTBUILD),true) ifneq ($(TESTBUILD),true)
ifeq ($(shell $(PKG_CONFIG) --exists liblo fftw3 mxml zlib && echo true),true) ifeq ($(shell $(PKG_CONFIG) --exists liblo fftw3 mxml zlib && echo true),true)
STATIC_CARLA_PLUGIN_LIBS += $(shell $(PKG_CONFIG) --libs liblo fftw3 mxml zlib) -pthread
STATIC_CARLA_PLUGIN_LIBS += $(filter-out -lpthread,$(shell $(PKG_CONFIG) --libs liblo fftw3 mxml zlib))
ifneq ($(WASM),true)
STATIC_CARLA_PLUGIN_LIBS += -pthread
endif
endif endif
endif endif
endif endif


Loading…
Cancel
Save