Statically link the C runtime on Windows (#7246)
This commit is contained in:
parent
bf2a925333
commit
9a12945304
3
.cargo/config
Normal file
3
.cargo/config
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[target.x86_64-pc-windows-msvc]
|
||||||
|
# Link the C runtime statically ; https://github.com/paritytech/parity/issues/6643
|
||||||
|
rustflags = ["-Ctarget-feature=+crt-static"]
|
@ -92,10 +92,6 @@ section "install"
|
|||||||
file /oname=ptray.exe ..\windows\ptray\x64\Release\ptray.exe
|
file /oname=ptray.exe ..\windows\ptray\x64\Release\ptray.exe
|
||||||
|
|
||||||
file "logo.ico"
|
file "logo.ico"
|
||||||
file vc_redist.x64.exe
|
|
||||||
|
|
||||||
ExecWait '"$INSTDIR\vc_redist.x64.exe" /passive /norestart'
|
|
||||||
delete $INSTDIR\vc_redist.x64.exe
|
|
||||||
# Add any other files for the install directory (license files, app data, etc) here
|
# Add any other files for the install directory (license files, app data, etc) here
|
||||||
|
|
||||||
# Uninstaller - See function un.onInit and section "uninstall" for configuration
|
# Uninstaller - See function un.onInit and section "uninstall" for configuration
|
||||||
|
Loading…
Reference in New Issue
Block a user