diff --git a/tools/osxcross-macports b/tools/osxcross-macports index 7f3f11350..cd8e7ebe4 100755 --- a/tools/osxcross-macports +++ b/tools/osxcross-macports @@ -323,6 +323,9 @@ getPkgUrl() if [ -z "$pkg" ]; then pkg=$(echo "$pkgs" | grep $OSXVERSION | grep "noarch" | uniq | tail -n1) fi + if [ -z "$pkg" ]; then + pkg=$(echo "$pkgs" | grep "any" | grep $ARCH | uniq | tail -n1) + fi if [ -z "$pkg" ]; then pkg=$(echo "$pkgs" | grep "any" | grep "noarch" | uniq | tail -n1) fi