Skip to content

Commit f7deeaa

Browse files
authored
Merge pull request #2054 from compnerd/layout
build: adjust for new build layout
2 parents 9b48517 + 961f92a commit f7deeaa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Utilities/bootstrap

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ class Target(object):
254254

255255
if args.foundation_path:
256256
import_paths.append(args.foundation_path)
257-
other_args.extend(["-Xcc", "-F" + os.path.join(args.foundation_path, "CoreFoundation-prefix", "System", "Library", "Frameworks")])
257+
other_args.extend(["-Xcc", "-F" + args.foundation_path])
258258
import_paths.append(os.path.join(args.foundation_path, "swift"))
259259
if args.libdispatch_build_dir:
260260
import_paths.append(os.path.join(args.libdispatch_build_dir, "src"))
@@ -1149,8 +1149,7 @@ def main():
11491149
symlink_force(os.path.join(args.foundation_path, 'swift', module_file), libincludedir)
11501150

11511151
# Add CoreFoundation "framework". This just contains the header and the modulemap.
1152-
core_foundation_path = os.path.join(
1153-
args.foundation_path, "CoreFoundation-prefix", "System", "Library", "Frameworks", "CoreFoundation.framework")
1152+
core_foundation_path = os.path.join(args.foundation_path, "CoreFoundation.framework")
11541153
symlink_force(core_foundation_path, libincludedir)
11551154

11561155
# Add symlinks for dispatch.

0 commit comments

Comments
 (0)