chroot creation script should handle statically linked binaries.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@534 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
13c2d4ec3f
commit
4caec176f1
|
@ -39,8 +39,10 @@ errorexit()
|
||||||
findlibs()
|
findlibs()
|
||||||
{
|
{
|
||||||
for i in "$@"; do
|
for i in "$@"; do
|
||||||
echo $(ldd "$i" | awk '{ print $3 }' | egrep -v ^'\(')
|
if [ -z "`ldd "$i" | grep 'not a dynamic executable'`" ]; then
|
||||||
echo $(ldd "$i" | grep 'ld-linux' | awk '{ print $1 }')
|
echo $(ldd "$i" | awk '{ print $3 }' | egrep -v ^'\(')
|
||||||
|
echo $(ldd "$i" | grep 'ld-linux' | awk '{ print $1 }')
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue