Skip to content
Snippets Groups Projects
Commit e8e32079 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Don't use ALSA on Windows.

parent 8f919a6c
Branches
Tags
No related merge requests found
Pipeline #7777 passed
......@@ -214,14 +214,16 @@ ifndef WITHOUT_PORTAUDIO
endif
endif
endif
ifndef WITHOUT_ALSA_SOUND
ifeq ($(shell if [ -f /usr/include/alsa/asoundlib.h ] ; then echo YES ; fi),YES)
XPDEV-MT_CFLAGS += -DUSE_ALSA_SOUND
XPDEV-MT_LIBS += -ldl
else
ifeq ($(shell if [ -f /usr/local/include/alsa/asoundlib.h ] ; then echo YES ; fi),YES)
ifndef win
ifndef WITHOUT_ALSA_SOUND
ifeq ($(shell if [ -f /usr/include/alsa/asoundlib.h ] ; then echo YES ; fi),YES)
XPDEV-MT_CFLAGS += -DUSE_ALSA_SOUND
XPDEV-MT_LIBS += -ldl
else
ifeq ($(shell if [ -f /usr/local/include/alsa/asoundlib.h ] ; then echo YES ; fi),YES)
XPDEV-MT_CFLAGS += -DUSE_ALSA_SOUND
XPDEV-MT_LIBS += -ldl
endif
endif
endif
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment