scripts/image: use ld-linux.so from target for prelinking

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-05-25 09:06:39 +02:00
parent f5ef5df941
commit 8fd8b18962

View File

@ -161,7 +161,8 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
if [ "$PRELINK_SUPPORT" = "yes" ]; then
$SCRIPTS/install prelink-cross
$TOOLCHAIN/sbin/prelink -amRvf --root=$INSTALL
LINKER=`basename $INSTALL/lib/ld-linux*`
$TOOLCHAIN/sbin/prelink -amRvf --root=$INSTALL --dynamic-linker /lib/$LINKER
rm -rf $INSTALL/etc/prelink.conf
fi