do not remove RPATH

Martín Fernández 3 weeks ago
parent bc416a0413
commit 58e7fcfe9e

@ -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"

Loading…
Cancel
Save