mirror of https://github.com/odrling/Aegisub
Add -lrt to the test for ALSA
Originally committed to SVN as r5827.
This commit is contained in:
parent
2f394a7792
commit
14d734298e
|
@ -526,7 +526,7 @@ fi
|
||||||
if test "$with_alsa" != "no"; then
|
if test "$with_alsa" != "no"; then
|
||||||
aegisub_save_LDFLAGS="$LDFLAGS"
|
aegisub_save_LDFLAGS="$LDFLAGS"
|
||||||
LDFLAGS="$ALSA_LDFLAGS"
|
LDFLAGS="$ALSA_LDFLAGS"
|
||||||
AC_CHECK_LIB([asound], [snd_pcm_open], [ALSA_LDFLAGS="-lasound"; with_alsa="yes"], [with_alsa="no"])
|
AC_CHECK_LIB([asound], [snd_pcm_open], [ALSA_LDFLAGS="-lasound -lrt"; with_alsa="yes"], [with_alsa="no"])
|
||||||
LDFLAGS="$aegisub_save_LDFLAGS"
|
LDFLAGS="$aegisub_save_LDFLAGS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue