Commit a912bb91 authored by Christophe Mutricy's avatar Christophe Mutricy Committed by Jean-Baptiste Kempf

Linking to X11 is optional

But you need careful, if you compile without X and then run with an X-enabled PulseAudio, boom.

Closes: #3650
(cherry picked from commit d0068498)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent a583c870
...@@ -3769,8 +3769,9 @@ dnl ...@@ -3769,8 +3769,9 @@ dnl
dnl Pulseaudio module dnl Pulseaudio module
dnl dnl
PKG_ENABLE_MODULES_VLC([PULSE], [], [libpulse >= 0.9.11], [Pulseaudio support], [auto]) PKG_ENABLE_MODULES_VLC([PULSE], [], [libpulse >= 0.9.11], [Pulseaudio support], [auto])
VLC_ADD_LIBS([pulse], [${X_LIBS} ${X_PRE_LIBS} -lX11]) AS_IF([ test "$have_x" = yes],[
VLC_ADD_LIBS([pulse], [${X_LIBS} ${X_PRE_LIBS} -lX11])
])
dnl dnl
dnl Portaudio module dnl Portaudio module
dnl dnl
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment