Skip to content

Commit d75be55

Browse files
committed
bootstrap: check the new Foundation layout
Ensure that we check the new Foundation location for the paths to the libraries.
1 parent 172a0aa commit d75be55

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Utilities/bootstrap

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,10 @@ class llbuild(object):
586586
link_command.extend(
587587
["-Xlinker", "-rpath=$ORIGIN/../lib/swift/linux"])
588588
if self.args.foundation_path:
589-
link_command.extend(["-L", self.args.foundation_path])
589+
link_command.extend([
590+
"-L", self.args.foundation_path,
591+
"-L", os.path.join(self.args.foundation_path, "Foundation")
592+
])
590593
if self.args.libdispatch_build_dir:
591594
link_command.extend(['-L', self.args.libdispatch_build_dir,
592595
'-L', os.path.join(self.args.libdispatch_build_dir, 'lib'),

0 commit comments

Comments
 (0)