diff options
author | Caolán McNamara <cmc@openoffice.org> | 2010-05-22 15:59:46 +0100 |
---|---|---|
committer | Caolán McNamara <cmc@openoffice.org> | 2010-05-22 15:59:46 +0100 |
commit | e46b02d99de966eaf3edb0801dd4d403d59b4cfa (patch) | |
tree | c1730f0a4460dcf931f3ba397b48b437f7af7463 /solenv/bin/gccinstlib.pl | |
parent | 2d04ea5160c67570ddcc0031e11f3acaab0b2d25 (diff) |
cmcfixes75: #i111770# remove configure.in hacks and handle prelinked system-stdlibs properly and fix the so.1 -> so.2 for hppa and m68k
Diffstat (limited to 'solenv/bin/gccinstlib.pl')
-rwxr-xr-x | solenv/bin/gccinstlib.pl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/solenv/bin/gccinstlib.pl b/solenv/bin/gccinstlib.pl index 7c9ac4b24c2e..90c8f02a3e06 100755 --- a/solenv/bin/gccinstlib.pl +++ b/solenv/bin/gccinstlib.pl @@ -53,4 +53,13 @@ foreach $Src (@CopySrc) { system ("/bin/cp $Src $Dest") && die "copy failed: $!"; } + +foreach $File (@ARGV) { + #https://bugzilla.redhat.com/show_bug.cgi?id=149465 + printf "unprelinking $Dest/$File\n"; + #If it's already unprelinked .i.e. no .gnu.prelink_undo section, that's fine + #If prelink is not installed, it's massively unlikely that it's prelinked + system ("prelink -u $Dest/$File > /dev/null 2>&1"); +} + exit (0); |