NetworkManager: disable gir for *-musl
Building with gir is broken for x86_64-musl and probably also i686-musl. Enable it it only for non-cross non-musl builds.
This commit is contained in:
parent
01342a5439
commit
4d07141874
1 changed files with 10 additions and 4 deletions
|
@ -42,10 +42,16 @@ make_dirs="
|
|||
|
||||
# Package build options
|
||||
build_options="gir"
|
||||
# Disable gir for cross builds.
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default+=" gir"
|
||||
fi
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) # Disable gir for musl (broken on x86_64-musl)
|
||||
# See: https://build.voidlinux.eu/builders/x86_64-musl_builder/builds/12337/steps/shell_3/logs/stdio
|
||||
;;
|
||||
*) # Enable gir for non-cross builds
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default+=" gir"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
pre_configure() {
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
|
|
Loading…
Reference in a new issue