Skip to content

Commit c0dcc93

Browse files
Merge pull request swiftlang#425 from nate-chandler/use-built-libs-in-spm
Use built libraries when running SPM builds.
2 parents bfcc257 + a6e5fa0 commit c0dcc93

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

project_future.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ def build_swift_package(path, swiftc, configuration, sandbox_profile,
209209
clean_swift_package(path, swiftc, sandbox_profile,
210210
stdout=stdout, stderr=stderr)
211211
env = os.environ
212+
env['DYLD_LIBRARY_PATH'] = get_stdlib_platform_path(swiftc, 'macOS')
212213
env['SWIFT_EXEC'] = swiftc
213214
command = [swift, 'build', '-C', path, '--verbose',
214215
'--configuration', configuration]

0 commit comments

Comments
 (0)