mirror of
https://github.com/transmission/transmission
synced 2025-02-24 07:00:40 +00:00
Fixed lrintf check when lrintf is in libm
This commit is contained in:
parent
759a1cf6e1
commit
94fd8c9cf6
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -102,7 +102,7 @@ lrintf_test()
|
||||||
return ( lrintf( 3.14 ) != 3 );
|
return ( lrintf( 3.14 ) != 3 );
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
if ( $CC -o testconf testconf.c $LINKLIBS && ./testconf ) > /dev/null 2>&1
|
if ( $CC -o testconf testconf.c $LDFLAGS && ./testconf ) > /dev/null 2>&1
|
||||||
then
|
then
|
||||||
CFLAGS="$CFLAGS -DHAVE_LRINTF"
|
CFLAGS="$CFLAGS -DHAVE_LRINTF"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue