diff options
author | Natanael Copa <natanael.copa@gmail.com> | 2012-09-12 09:06:51 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-09-15 15:35:53 +0000 |
commit | 8bacde8d86a09699207d85d4bab06162aed18dc4 (patch) | |
tree | df09dd8e48280742e9bec96ae2726b3e29a0b09a /qemu-coroutine-io.c | |
parent | 3cebc3f11d8d74eb87dc02e712629c45e689960b (diff) |
configure: properly check if -lrt and -lm is needed
Fixes build against uClibc.
uClibc provides 2 versions of clock_gettime(), one with realtime
support and one without (this is so you can avoid linking in -lrt
unless actually needed). This means that the clock_gettime() don't
need -lrt. We still need it for timer_create() so we check for this
function in addition.
We also need check if -lm is needed for isnan().
Both -lm and -lrt are needed for libs_qga.
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qemu-coroutine-io.c')
0 files changed, 0 insertions, 0 deletions