Remove rpath after compilation

This commit is contained in:
Deve 2022-01-05 23:33:19 +01:00
parent 886783db31
commit 364d387aa1

View File

@ -616,6 +616,9 @@ create_package()
strip --strip-debug "$STK_PACKAGE_DIR/bin/supertuxkart" strip --strip-debug "$STK_PACKAGE_DIR/bin/supertuxkart"
strip --strip-debug "$STK_PACKAGE_DIR/bin/supertuxkart-editor" 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 chmod a+rwx "$STK_PACKAGE_DIR" -R
find "$STK_PACKAGE_DIR" -type f -exec chmod a-x {} \; find "$STK_PACKAGE_DIR" -type f -exec chmod a-x {} \;
find "$STK_PACKAGE_DIR/bin" -type f -exec chmod a+x {} \; find "$STK_PACKAGE_DIR/bin" -type f -exec chmod a+x {} \;