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
|
@ -27,11 +27,10 @@ CPPFLAGS="-Wno-unused-local-typedefs"
|
|||
if [ "$CROSS_BUILD" ]; then
|
||||
configure_args+=" --disable-mempool"
|
||||
fi
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) makedepends+=" musl-fts-devel"
|
||||
LDFLAGS="-lfts"
|
||||
;;
|
||||
esac
|
||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||
makedepends+=" musl-fts-devel"
|
||||
LDFLAGS="-lfts"
|
||||
fi
|
||||
|
||||
do_configure() {
|
||||
# Disable detection of sys/cdefs.h (it's obsolete)
|
||||
|
|
Loading…
Reference in New Issue