Start makefile tweaks to allow wasm builds

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2021-11-09 12:59:54 +00:00
parent 13727bbf8c
commit bac019897f
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
5 changed files with 16 additions and 0 deletions

View file

@ -51,6 +51,7 @@ endif
ifneq ($(HAIKU_OR_MACOS_OR_WINDOWS),true)
ifneq ($(HEADLESS),true)
ifneq ($(WASM),true)
ifneq ($(HAVE_OPENGL),true)
$(error X11 dependency not installed/available)
@ -72,6 +73,7 @@ CARLA_EXTRA_ARGS += HAVE_X11=false
CARLA_EXTRA_ARGS += HAVE_XEXT=false
CARLA_EXTRA_ARGS += HAVE_XRANDR=false
endif
endif
endif