]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
stripper: Strip any PIE executables
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 30 Jun 2022 13:21:15 +0000 (13:21 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Wed, 6 Jul 2022 09:57:22 +0000 (09:57 +0000)
Fixes: #12894
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
src/stripper

index fadbc514b86eabe78e8d7564120f8a702238f52e..4014f03a4ff2cb4afa119020dfb169604555b08a 100755 (executable)
@@ -38,6 +38,10 @@ function _strip() {
                        args+=( "--strip-all" )
                        ;;
 
+               *Type:*"DYN (Position-Independent Executable file)"*)
+                       args+=( "--strip-all" )
+                       ;;
+
                # Binaries
                *Type:*"EXEC (Executable file)"*)
                        args+=( "--strip-all" )