FeodorFitsner · GitHub

Bug report

Bug description:

While doing cross-compilation of Python packages for iOS calling arm64-apple-ios-clang script (and other aliases as well) fails if arguments contain spaces, for example:

arm64-apple-ios-clang -DPACKAGE_TARNAME="aaa" -DPACKAGE_STRING="aaa 1.2.2" -c -o src/main.o src/main.c

gives clang: invalid directory name: '1.2.2"' error.

To fix that $@ inside script should be wrapped with quotes: "$@".

I'm going to make PR.

CPython versions tested on:

3.12

Operating systems tested on:

macOS

Linked PRs

Read the original on github.com ↗