Skip to content
Snippets Groups Projects
Commit 7b603052 authored by deuce's avatar deuce
Browse files

When using ALSA or PortAudio, we need -ldl for XPBEEP

parent 1f17646a
No related branches found
No related tags found
No related merge requests found
......@@ -187,5 +187,13 @@ ifndef WITHOUT_PORTAUDIO
ifneq ($(PORTAUDIO_PATH),NOTFOUND)
XPDEV_CFLAGS += -DWITH_PORTAUDIO
ifeq ($(os),linux)
XPDEV-MT_LIBS += -ldl
XPDEV_LIBS += -ldl
endif
endif
endif
ifeq ($(shell if [ -f /usr/include/alsa/asoundlib.h ] ; then echo YES ; fi),YES)
XPDEV-MT_LIBS += -ldl
XPDEV_LIBS += -ldl
endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment