Skip to content

Commit 0f0647a

Browse files
authored
Merge pull request #417 from buttaface/rpath
On ELF platforms, remove the host toolchain rpath from sourcekit-lsp before installing
2 parents 0aad9a9 + e3f1f16 commit 0f0647a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Utilities/build-script-helper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ def handle_invocation(swift_exec, args):
129129
swiftpm('test', swift_exec, test_args, env)
130130
elif args.action == 'install':
131131
bin_path = swiftpm_bin_path(swift_exec, swiftpm_args, env)
132+
swiftpm_args += ['-Xswiftc', '-no-toolchain-stdlib-rpath']
132133
swiftpm('build', swift_exec, swiftpm_args, env)
133134
install(bin_path, args.toolchain)
134135
else:

0 commit comments

Comments
 (0)