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
@ -42,10 +42,16 @@ make_dirs="
|
|||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="gir"
|
build_options="gir"
|
||||||
# Disable gir for cross builds.
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
*-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"
|
build_options_default+=" gir"
|
||||||
fi
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user