mirror of
				https://github.com/Tha14/toxic.git
				synced 2025-11-04 14:26:52 +01:00 
			
		
		
		
	Fix some build issues
This commit is contained in:
		@@ -13,12 +13,14 @@ ifneq ($(AUDIO), disabled)
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
# Check if we want build video support
 | 
			
		||||
VIDEO = $*shell if [ -z "$(DISABLE_AV)" ] || [ "$(DISABLE_AV)" = "0" ] ; then echo enabled ; else echo disabled ; fi)
 | 
			
		||||
VIDEO = $(shell if [ -z "$(DISABLE_AV)" ] || [ "$(DISABLE_AV)" = "0" ] ; then echo enabled ; else echo disabled ; fi)
 | 
			
		||||
ifneq ($(X11), disabled)
 | 
			
		||||
ifneq ($(AUDIO), disabled)
 | 
			
		||||
ifneq ($(VIDEO), disabled)
 | 
			
		||||
    -include $(CHECKS_DIR)/video.mk
 | 
			
		||||
endif
 | 
			
		||||
endif
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
# Check if we want build sound notifications support
 | 
			
		||||
SND_NOTIFY = $(shell if [ -z "$(DISABLE_SOUND_NOTIFY)" ] || [ "$(DISABLE_SOUND_NOTIFY)" = "0" ] ; then echo enabled ; else echo disabled ; fi)
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,10 @@
 | 
			
		||||
# Variables for sound notifications support
 | 
			
		||||
SND_NOTIFY_LIBS = openal freealut
 | 
			
		||||
SND_NOTIFY_CFLAGS = -DSOUND_NOTIFY
 | 
			
		||||
ifneq (, $(findstring device.o, $(OBJ)))
 | 
			
		||||
ifneq (, $(findstring audio_device.o, $(OBJ)))
 | 
			
		||||
    SND_NOTIFY_OBJ =
 | 
			
		||||
else
 | 
			
		||||
    SND_NOTIFY_OBJ = device.o
 | 
			
		||||
    SND_NOTIFY_OBJ = audio_device.o
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
# Check if we can build sound notifications support
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user