Skip to content

Commit 0cc63e5

Browse files
committed
[Tests][SwiftPM] Tweak build script slightly.
We still need a small tweak to `swiftpm.py`.
1 parent 69859b6 commit 0cc63e5

File tree

1 file changed

+2
-2
lines changed
  • utils/swift_build_support/swift_build_support/products

1 file changed

+2
-2
lines changed

utils/swift_build_support/swift_build_support/products/swiftpm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from . import swift_testing
2525
from . import xctest
2626
from .. import shell
27-
from ..targets import StdlibDeploymentTarget
27+
from ..targets import StdlibDeploymentTarget, darwin_toolchain_prefix
2828

2929

3030
class SwiftPM(product.Product):
@@ -192,6 +192,6 @@ def _get_toolchain_path(host_target, product, args):
192192
if platform.system() == 'Darwin':
193193
# The prefix is an absolute path, so concatenate without os.path.
194194
toolchain_path += \
195-
targets.darwin_toolchain_prefix(args.install_prefix)
195+
darwin_toolchain_prefix(args.install_prefix)
196196

197197
return toolchain_path

0 commit comments

Comments
 (0)