mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
don't just strip .so files before making installers; bug 241288, r=bsmedberg
This commit is contained in:
parent
f5904c3c32
commit
4b696584d3
@ -62,8 +62,8 @@ use File::Find;
|
||||
##
|
||||
# RecursiveStrip
|
||||
#
|
||||
# Strips all libs by recursing into all directories and calling
|
||||
# the strip utility on all *.so files.
|
||||
# Strips all strippable files by recursing into all directories and calling
|
||||
# the strip utility on all files.
|
||||
#
|
||||
# @param targetDir the directory to traverse recursively
|
||||
#
|
||||
@ -78,7 +78,7 @@ sub RecursiveStrip
|
||||
find({ wanted => \&find_libraries, no_chdir => 1 }, $targetDir);
|
||||
@dirEntries = <$targetDir/*>;
|
||||
|
||||
# strip all .so files
|
||||
# strip all strippable files
|
||||
system("strip @libraryList") if (defined(@libraryList));
|
||||
}
|
||||
|
||||
@ -95,7 +95,7 @@ sub MakeJsFile
|
||||
|
||||
sub find_libraries
|
||||
{
|
||||
/\.so$/ && push @libraryList, $File::Find::name;
|
||||
push @libraryList, $File::Find::name;
|
||||
}
|
||||
|
||||
# Make sure there are at least three arguments
|
||||
|
Loading…
Reference in New Issue
Block a user