From 02a8b693af12071ac382e5e6e6e4b4cd97cfc2a0 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 20 Sep 2018 10:30:41 +0300 Subject: [PATCH] Remove RPATH from official builds. Fixes #4634. --- Telegram/build/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Telegram/build/build.sh b/Telegram/build/build.sh index 4ef845812..08656387d 100755 --- a/Telegram/build/build.sh +++ b/Telegram/build/build.sh @@ -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