aboutsummaryrefslogtreecommitdiffstats
path: root/strip_and_check_elf_files
diff options
context:
space:
mode:
Diffstat (limited to 'strip_and_check_elf_files')
-rwxr-xr-xstrip_and_check_elf_files2
1 files changed, 2 insertions, 0 deletions
diff --git a/strip_and_check_elf_files b/strip_and_check_elf_files
index 2f56bc0..e5e2490 100755
--- a/strip_and_check_elf_files
+++ b/strip_and_check_elf_files
@@ -59,6 +59,8 @@ sub expensive_test {
sub keep_wanted() {
# skip everything but files
return unless -f $_;
+ # skip symlinks
+ return if -l $_;
# Does its filename look like a shared library?
if (m/\.so/) {