Remove RPATH from official builds.

Fixes #4634.
This commit is contained in:
John Preston 2018-09-20 10:30:41 +03:00
parent 53219bcf70
commit 02a8b693af

View file

@ -188,6 +188,10 @@ if [ "$BuildTarget" == "linux" ] || [ "$BuildTarget" == "linux32" ]; then
strip -s "$ReleasePath/$BinaryName"
echo "Done!"
echo "Removing RPATH.."
chrpath -d "$ReleasePath/$BinaryName"
echo "Done!"
echo "Preparing version $AppVersionStrFull, executing Packer.."
cd "$ReleasePath"
"./Packer" -path "$BinaryName" -path Updater -version $VersionForPacker $AlphaBetaParam