clamav: use $XBPS_TARGET_LIBC to detect musl
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
cae6b0106b
commit
c56aa82454
1 changed files with 4 additions and 5 deletions
|
@ -27,11 +27,10 @@ CPPFLAGS="-Wno-unused-local-typedefs"
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
configure_args+=" --disable-mempool"
|
configure_args+=" --disable-mempool"
|
||||||
fi
|
fi
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
*-musl) makedepends+=" musl-fts-devel"
|
makedepends+=" musl-fts-devel"
|
||||||
LDFLAGS="-lfts"
|
LDFLAGS="-lfts"
|
||||||
;;
|
fi
|
||||||
esac
|
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
# Disable detection of sys/cdefs.h (it's obsolete)
|
# Disable detection of sys/cdefs.h (it's obsolete)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue