Add swift_crashpad_handler to Linux installer

Summary:
swift_crashpad_handler for Linux was part of externals but was never copied to out/
and also never copied into the installer.

Reviewers: #gatekeepers

Differential Revision: https://dev.swift-project.org/D96
This commit is contained in:
Roland Rossgotterer
2019-01-14 15:08:51 +01:00
committed by Mat Sutcliffe
parent 27b857abc4
commit 845c7ddf59
2 changed files with 13 additions and 5 deletions

View File

@@ -42,6 +42,17 @@
</distributionFile>
</distributionFileList>
</folder>
<folder>
<description>bin</description>
<destination>${installdir}/bin</destination>
<name>bin_linux</name>
<platforms>linux linux-x64</platforms>
<distributionFileList>
<distributionFile>
<origin>../../dist/bin/swift_crashpad_handler</origin>
</distributionFile>
</distributionFileList>
</folder>
<folder>
<description>bin</description>
<destination>${installdir}/bin</destination>

View File

@@ -118,11 +118,8 @@ else:unix {
source_path = $$EXTERNALS_BIN_DIR/*
dest_path = $$DestRoot/bin
}
# Currently there is no bin folder in linux externals
win32|macx {
!isEmpty(QMAKE_POST_LINK): QMAKE_POST_LINK += &&
QMAKE_POST_LINK += $$copy_command $$shell_path($$source_path) $$shell_path($$dest_path)
}
!isEmpty(QMAKE_POST_LINK): QMAKE_POST_LINK += &&
QMAKE_POST_LINK += $$copy_command $$shell_path($$source_path) $$shell_path($$dest_path)
win32 {
copy_command = xcopy /Y