@@ -80,13 +80,15 @@ else:
80
80
'-Xlinker' , '-rpath' , '-Xlinker' , os .path .join (foundation_dir , 'Sources' , 'Foundation' ),
81
81
'-Xlinker' , '-rpath' , '-Xlinker' , os .path .join (foundation_dir , 'Sources' , 'FoundationNetworking' ),
82
82
'-Xlinker' , '-rpath' , '-Xlinker' , os .path .join (foundation_dir , 'Sources' , 'FoundationXML' ),
83
+ '-Xlinker' , '-rpath' , '-Xlinker' , os .path .join (foundation_dir , 'lib' ),
83
84
])
84
85
swift_exec .extend ([
85
86
'-L' , foundation_dir ,
86
87
'-L' , os .path .join (foundation_dir , 'Foundation' ),
87
88
'-L' , os .path .join (foundation_dir , 'Sources' , 'Foundation' ),
88
89
'-L' , os .path .join (foundation_dir , 'Sources' , 'FoundationNetworking' ),
89
90
'-L' , os .path .join (foundation_dir , 'Sources' , 'FoundationXML' ),
91
+ '-L' , os .path .join (foundation_dir , 'lib' ),
90
92
'-I' , foundation_dir ,
91
93
'-I' , os .path .join (foundation_dir , 'swift' ),
92
94
'-Xcc' , '-F' , '-Xcc' , foundation_dir ,
@@ -119,6 +121,7 @@ else:
119
121
os .path .join (foundation_dir , 'Sources' , 'Foundation' ),
120
122
os .path .join (foundation_dir , 'Sources' , 'FoundationNetworking' ),
121
123
os .path .join (foundation_dir , 'Sources' , 'FoundationXML' ),
124
+ os .path .join (foundation_dir , 'lib' ),
122
125
])
123
126
124
127
# Having prepared the swiftc command, we set the substitution.
0 commit comments