Commit d0068498 authored by Christophe Mutricy's avatar Christophe Mutricy

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
parent a9175056
......@@ -3661,8 +3661,9 @@ dnl
dnl Pulseaudio module
dnl
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 Portaudio module
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