From 364d387aa1719fcaad6cbe04c936185301d4b141 Mon Sep 17 00:00:00 2001 From: Deve Date: Wed, 5 Jan 2022 23:33:19 +0100 Subject: [PATCH] Remove rpath after compilation --- tools/linux_builder.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/linux_builder.sh b/tools/linux_builder.sh index 479c8f2f1..d11f3cb16 100755 --- a/tools/linux_builder.sh +++ b/tools/linux_builder.sh @@ -616,6 +616,9 @@ create_package() strip --strip-debug "$STK_PACKAGE_DIR/bin/supertuxkart" strip --strip-debug "$STK_PACKAGE_DIR/bin/supertuxkart-editor" + find "$STK_PACKAGE_DIR/bin" -type f -exec chrpath -d {} \; + find "$STK_PACKAGE_DIR/lib" -type f -exec chrpath -d {} \; + chmod a+rwx "$STK_PACKAGE_DIR" -R find "$STK_PACKAGE_DIR" -type f -exec chmod a-x {} \; find "$STK_PACKAGE_DIR/bin" -type f -exec chmod a+x {} \;