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"