Skip to content

Commit 36b5faa

Browse files
committed
WiX: adjust the scanned paths for the import libraries
The import libraries are architecture specific. As we do not currently merge the import libraries, we embed them into an architecture specific directory. This adjusts the lookup path as we have started moving the files rather than copying them. This makes the installer packaging more strict about expecting the path to the final destination.
1 parent 8a500a0 commit 36b5faa

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

platforms/Windows/sdk/win/sdk.wxs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183
<File Source="$(SDK_ROOT)\usr\include\Block\Block.h" />
184184
</Component>
185185
<Component Directory="WindowsSDK_usr_lib_swift_windows_ARCH">
186-
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\BlocksRuntime.lib" />
186+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\$(Architecture)\BlocksRuntime.lib" />
187187
</Component>
188188
</ComponentGroup>
189189

@@ -208,17 +208,17 @@
208208
<File Name="$(Triple).swiftmodule" Source="$(SDK_ROOT)\usr\lib\swift\windows\$(Architecture)\Dispatch.swiftmodule" />
209209
</Component>
210210
<Component Directory="WindowsSDK_usr_lib_swift_windows_ARCH">
211-
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\dispatch.lib" />
211+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\$(Architecture)\dispatch.lib" />
212212
</Component>
213213
<Component Directory="WindowsSDK_usr_lib_swift_windows_ARCH">
214-
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\swiftDispatch.lib" />
214+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\$(Architecture)\swiftDispatch.lib" />
215215
</Component>
216216
</ComponentGroup>
217217

218218
<ComponentGroup Id="_foundation_unicode" Directory="WindowsSDK_usr_include__foundation_unicode">
219219
<?include ../_FoundationUnicode.wxi?>
220220
<Component Directory="WindowsSDK_usr_lib_swift_windows_ARCH">
221-
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\_FoundationICU.lib" />
221+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\$(Architecture)\_FoundationICU.lib" />
222222
</Component>
223223
</ComponentGroup>
224224

@@ -360,7 +360,7 @@
360360
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\FoundationEssentials.swiftmodule\$(Triple).swiftmodule" />
361361
</Component>
362362
<Component Directory="WindowsSDK_usr_lib_swift_windows_ARCH">
363-
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\FoundationEssentials.lib" />
363+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\$(Architecture)\FoundationEssentials.lib" />
364364
</Component>
365365
</ComponentGroup>
366366

@@ -372,7 +372,7 @@
372372
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\FoundationInternationalization.swiftmodule\$(Triple).swiftmodule" />
373373
</Component>
374374
<Component Directory="WindowsSDK_usr_lib_swift_windows_ARCH">
375-
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\FoundationInternationalization.lib" />
375+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\$(Architecture)\FoundationInternationalization.lib" />
376376
</Component>
377377
</ComponentGroup>
378378

@@ -384,7 +384,7 @@
384384
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\Foundation.swiftmodule\$(Triple).swiftmodule" />
385385
</Component>
386386
<Component Directory="WindowsSDK_usr_lib_swift_windows_ARCH">
387-
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\Foundation.lib" />
387+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\$(Architecture)\Foundation.lib" />
388388
</Component>
389389
</ComponentGroup>
390390

@@ -396,7 +396,7 @@
396396
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\FoundationNetworking.swiftmodule\$(Triple).swiftmodule" />
397397
</Component>
398398
<Component Directory="WindowsSDK_usr_lib_swift_windows_ARCH">
399-
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\FoundationNetworking.lib" />
399+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\$(Architecture)\FoundationNetworking.lib" />
400400
</Component>
401401
</ComponentGroup>
402402

@@ -408,7 +408,7 @@
408408
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\FoundationXML.swiftmodule\$(Triple).swiftmodule" />
409409
</Component>
410410
<Component Directory="WindowsSDK_usr_lib_swift_windows_ARCH">
411-
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\FoundationXML.lib" />
411+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\$(Architecture)\FoundationXML.lib" />
412412
</Component>
413413
</ComponentGroup>
414414

0 commit comments

Comments
 (0)