From 58e7fcfe9ee725943aa02c13ecb15c901776dfce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Fern=C3=A1ndez?= Date: Wed, 1 May 2024 20:28:29 +0000 Subject: [PATCH] do not remove RPATH --- platform/linux/do_debian_package.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/platform/linux/do_debian_package.sh b/platform/linux/do_debian_package.sh index 50ab6739e..5e605c3de 100755 --- a/platform/linux/do_debian_package.sh +++ b/platform/linux/do_debian_package.sh @@ -101,13 +101,6 @@ if command_exists "${COMMAND}"; then # add debian changelog write_changelog "${BASE_DIR}/usr" - # try to remove rpath - if command_exists chrpath; then - find "${BASE_DIR}/usr/lib/koreader/libs" -type f -name "*.so*" -print0 | xargs -0 chrpath -d - else - echo "chrpath tool not found. Skipping RPATH deletion" - fi - fakeroot dpkg-deb -b "${BASE_DIR}" "koreader-${VERSION}-${DEB_ARCH}.deb" else echo "${COMMAND} not found, unable to build Debian package"