diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2020-06-07 01:57:05 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-06-14 17:45:40 +0700 |
commit | 0bb35e4ca7e4af45dbe020c921a260ba20f03aed (patch) | |
tree | 860ab5c1fdb526721b1289201fcba18ab85a84eb /libraries | |
parent | e9610483f758def7ff92c2338c98f6013582a4c3 (diff) |
libraries/qt5: Remove rpath block.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/qt5/qt5.SlackBuild | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libraries/qt5/qt5.SlackBuild b/libraries/qt5/qt5.SlackBuild index a7327f110414a..67d6e19149da1 100644 --- a/libraries/qt5/qt5.SlackBuild +++ b/libraries/qt5/qt5.SlackBuild @@ -229,13 +229,6 @@ fi find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -# Remove rpaths: -for file in $(find . | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f1 -d: 2>/dev/null); do - if [ ! "$(patchelf --print-rpath $file 2> /dev/null)" = "" ]; then - patchelf --remove-rpath $file - fi -done - mkdir -p $PKG/usr/bin for BIN in $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/bin/*; do TMP_FILE=$(echo $BIN | sed -e "s|$PKG||") |