cookutils rev 1125

modules/pack: *.typelib isn't architecture-agnostic
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 29 17:30:21 2018 +0200 (2018-12-29)
parents 8cf248ef571e
children 54275f30a065
files modules/pack
line diff
     1.1 --- a/modules/pack	Fri Dec 28 02:16:44 2018 +0200
     1.2 +++ b/modules/pack	Sat Dec 29 17:30:21 2018 +0200
     1.3 @@ -404,6 +404,11 @@
     1.4  		action 'Forced package architecture to' >&2
     1.5  		echo " $ARCH" >&2
     1.6  		arch="$ARCH"
     1.7 +	elif [ -n "$(busybox find "$1" -type f -name '*.typelib')" ]; then
     1.8 +		# GObject-introspection *.typelib binary data is architecture-dependent
     1.9 +		action 'Found typelib. Forced package architecture to' >&2
    1.10 +		echo " $ARCH" >&2
    1.11 +		arch="$ARCH"
    1.12  	else
    1.13  		action 'Determining package architecture...' >&2
    1.14  		archs="$(