dev-lang/swift: set up Python to respect PYTHON_SINGLE_TARGET

Signed-off-by: Itai Ferber <itai@itaiferber.net>
This commit is contained in:
Itai Ferber
2024-09-13 15:28:23 -04:00
parent 219fe71615
commit c05b53a279

View File

@@ -113,6 +113,13 @@ src_unpack() {
|| die
}
src_configure() {
default
# Necessary to respect PYTHON_SINGLE_TARGET, if defined.
python_setup
}
src_compile() {
# The Swift 5.10 compiler is partially written in Swift itself (the new
# `swift-driver` + macro support via `swift-syntax`), which requires