# HG changeset patch # User Aleksej Bobylev # Date 1546097421 -7200 # Node ID 88141f5b47310eb421e84b39bda3f5cc214c9bd1 # Parent 8cf248ef571e1657747aeeb66677e5f89416a320 modules/pack: *.typelib isn't architecture-agnostic diff -r 8cf248ef571e -r 88141f5b4731 modules/pack --- a/modules/pack Fri Dec 28 02:16:44 2018 +0200 +++ b/modules/pack Sat Dec 29 17:30:21 2018 +0200 @@ -404,6 +404,11 @@ action 'Forced package architecture to' >&2 echo " $ARCH" >&2 arch="$ARCH" + elif [ -n "$(busybox find "$1" -type f -name '*.typelib')" ]; then + # GObject-introspection *.typelib binary data is architecture-dependent + action 'Found typelib. Forced package architecture to' >&2 + echo " $ARCH" >&2 + arch="$ARCH" else action 'Determining package architecture...' >&2 archs="$(