mirror of
https://github.com/tpoechtrager/osxcross.git
synced 2024-11-09 22:14:08 +03:00
Let osxcross-macports pick up noarch packages
Some packages (such as the qt5 metapackage) are not architecture-specific - "noarch" versions should work on all architectures.
This commit is contained in:
parent
9d98be2cd0
commit
43864e6d8f
@ -264,6 +264,9 @@ getPkgUrl()
|
||||
done
|
||||
|
||||
local pkg=$(echo "$pkgs" | grep $OSXVERSION | grep $ARCH | uniq | tail -n1)
|
||||
if [ -z "$pkg" ]; then
|
||||
pkg=$(echo "$pkgs" | grep $OSXVERSION | grep "noarch" | uniq | tail -n1)
|
||||
fi
|
||||
|
||||
verboseMsg " selected: $pkg"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user