mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-23 01:43:01 +01:00
Add option to disable audio support
This commit is contained in:
parent
ad14baf601
commit
16a82e1897
@ -54,7 +54,8 @@ ifneq ($(filter arm%, $(UNAME_M)),)
|
|||||||
-include $(CFG_DIR)/arm.mk
|
-include $(CFG_DIR)/arm.mk
|
||||||
endif
|
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")
|
CHECK_AUDIO_LIBS = $(shell pkg-config $(AUDIO_LIBS) || echo -n "error")
|
||||||
ifneq ($(CHECK_AUDIO_LIBS), error)
|
ifneq ($(CHECK_AUDIO_LIBS), error)
|
||||||
LIBS += $(AUDIO_LIBS)
|
LIBS += $(AUDIO_LIBS)
|
||||||
@ -68,6 +69,7 @@ $(warning WARNING -- You need these libraries for audio support)
|
|||||||
$(warning WARNING -- $(MISSING_AUDIO_LIBS))
|
$(warning WARNING -- $(MISSING_AUDIO_LIBS))
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# Check if we can build Toxic
|
# Check if we can build Toxic
|
||||||
CHECK_LIBS = $(shell pkg-config $(LIBS) || echo -n "error")
|
CHECK_LIBS = $(shell pkg-config $(LIBS) || echo -n "error")
|
||||||
|
Loading…
Reference in New Issue
Block a user