libgcrypt: dont install libgcrypt-config to $TOOLCHAIN/bin, this file should be in $SYSROOT_PREFIX/usr/bin

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2016-01-07 03:26:18 +01:00
parent 7e7ff22436
commit 830106c98e

View File

@ -35,8 +35,8 @@ PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="--disable-asm --with-gnu-ld"
post_makeinstall_target() {
sed -e "s:\(['= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" -i src/libgcrypt-config
cp src/libgcrypt-config $ROOT/$TOOLCHAIN/bin
sed -e "s:\(['= ]\)\"/usr:\\1\"$SYSROOT_PREFIX/usr:g" -i src/$PKG_NAME-config
cp src/$PKG_NAME-config $SYSROOT_PREFIX/usr/bin
rm -rf $INSTALL/usr/bin
}