mirror of
https://github.com/tsukumijima/libmali-rockchip.git
synced 2026-01-24 00:10:50 +01:00
scripts: normalize.sh: Rework out-dated dep replacement
No functional changes. Change-Id: I58f7113cfd199d2e884d3d5c78b9842e2f4202cf Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
parent
309268f7a3
commit
fd04d272df
1 changed files with 3 additions and 3 deletions
|
|
@ -7,9 +7,9 @@ for lib in $LIBS; do
|
|||
DEPS=$(readelf -d $lib)
|
||||
|
||||
# Hack out-dated deps
|
||||
for dep in libffi.so.6 libcrypto.so.1.0.0; do
|
||||
echo $DEPS | grep -wq $dep &&
|
||||
patchelf $lib --replace-needed $dep ${dep%.so*}.so
|
||||
for dep in libffi.so libcrypto.so; do
|
||||
DEP=$(echo $DEPS | grep -oE "$dep.[0-9]*")
|
||||
[ -z "$DEP" ] || patchelf $lib --replace-needed $DEP $dep
|
||||
done
|
||||
|
||||
# Set a common soname
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue