Skip to content

Commit 200e4d5

Browse files
committed
Add back -no-toolchain-stdlib-rpath when installing sourcekit-lsp
Pull #597 incorrectly removed this, as it's still needed on ELF platforms.
1 parent 24ce1be commit 200e4d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Utilities/build-script-helper.py

+1
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ def install(swift_exec: str, args: argparse.Namespace) -> None:
224224
swiftpm_args = get_swiftpm_options(swift_exec, args)
225225
additional_env = get_swiftpm_environment_variables(swift_exec, args)
226226
bin_path = swiftpm_bin_path(swift_exec, swiftpm_args=swiftpm_args, additional_env=additional_env)
227+
swiftpm_args += ['-Xswiftc', '-no-toolchain-stdlib-rpath']
227228

228229
for prefix in args.install_prefixes:
229230
install_binary('sourcekit-lsp', bin_path, os.path.join(prefix, 'bin'), verbose=args.verbose)

0 commit comments

Comments
 (0)