diff options
author | Max Kellermann <max@duempel.org> | 2014-12-09 18:42:35 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-12-09 21:19:09 +0100 |
commit | 7a1e026bb557c07f9b324f5fef64f0a483cbd017 (patch) | |
tree | 929214843562e6046ea39a1f09e88a57df8c326e /src/output | |
parent | 64f04ee6dbc9065db3a0af4fbe8b23b820c8a831 (diff) | |
download | mpd-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 '')
0 files changed, 0 insertions, 0 deletions