diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 509b5591..780875b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -352,9 +352,12 @@ IF(PULSEAUDIO) IF(HAVE_LIBPULSE) SET(HAVE_PULSEAUDIO 1) SET(ALC_OBJS ${ALC_OBJS} Alc/pulseaudio.c) - SET(BACKENDS "${BACKENDS} PulseAudio \(linked\),") - - SET(EXTRA_LIBS pulse ${EXTRA_LIBS}) + IF(HAVE_DLFCN_H) + SET(BACKENDS "${BACKENDS} PulseAudio,") + ELSE() + SET(BACKENDS "${BACKENDS} PulseAudio \(linked\),") + SET(EXTRA_LIBS pulse ${EXTRA_LIBS}) + ENDIF() ENDIF() ENDIF() ENDIF() |