aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoder
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-09 18:42:35 +0100
committerMax Kellermann <max@duempel.org>2014-12-09 21:19:09 +0100
commit7a1e026bb557c07f9b324f5fef64f0a483cbd017 (patch)
tree929214843562e6046ea39a1f09e88a57df8c326e /src/encoder
parent64f04ee6dbc9065db3a0af4fbe8b23b820c8a831 (diff)
downloadmpd-7a1e026bb557c07f9b324f5fef64f0a483cbd017.tar.gz
mpd-7a1e026bb557c07f9b324f5fef64f0a483cbd017.tar.xz
mpd-7a1e026bb557c07f9b324f5fef64f0a483cbd017.zip
configure.ac: check for pthread before librt
Works around a linker problem with some older glibc versions: if "-lrt" was used, then "-pthread" was implied, but only the symbols used by librt were available. This led to a linker error because pthread_atfork() was not found. So with "-lrt", autoconf decides that no pthread flag is necessary, but in the end fails due to pthread_atfork() missing. By checking for pthread before librt, we avoid this dependency problem.
Diffstat (limited to 'src/encoder')
0 files changed, 0 insertions, 0 deletions