]> git.ipfire.org Git - pakfire.git/commitdiff
scripts: Remove *.la files, too
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 25 May 2021 20:49:04 +0000 (20:49 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 25 May 2021 20:49:04 +0000 (20:49 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/scripts/remove-static-libs

index b0716a01da21055d39070960190075351ecdfbc3..07280d6669276b8ebccea52e4cba44c6b7a305ab 100644 (file)
@@ -43,6 +43,11 @@ main() {
                fi
        done
 
+       # Remove all .la files
+       for file in $(find "${buildroot}" -name "*.la"); do
+               rm -f "${file}"
+       done
+
        return 0
 }