diff --git a/build/Makefile b/build/Makefile index 4d98173..0014392 100644 --- a/build/Makefile +++ b/build/Makefile @@ -54,7 +54,8 @@ ifneq ($(filter arm%, $(UNAME_M)),) -include $(CFG_DIR)/arm.mk endif -# Check if we can build audio +# Check if we want/can build audio +ifneq ($(DISABLE_AV), 1) CHECK_AUDIO_LIBS = $(shell pkg-config $(AUDIO_LIBS) || echo -n "error") ifneq ($(CHECK_AUDIO_LIBS), error) LIBS += $(AUDIO_LIBS) @@ -68,6 +69,7 @@ $(warning WARNING -- You need these libraries for audio support) $(warning WARNING -- $(MISSING_AUDIO_LIBS)) endif endif +endif # Check if we can build Toxic CHECK_LIBS = $(shell pkg-config $(LIBS) || echo -n "error")