SDL2: dont install sdl2-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:25:10 +01:00
parent 245fdc1a8a
commit af8facfa21

View File

@ -116,9 +116,7 @@ pre_make_target() {
} }
post_makeinstall_target() { post_makeinstall_target() {
mkdir -p $ROOT/$TOOLCHAIN/bin $SED "s:\(['=\" ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" $SYSROOT_PREFIX/usr/bin/sdl2-config
cp $SYSROOT_PREFIX/usr/bin/sdl2-config $ROOT/$TOOLCHAIN/bin
$SED "s:\(['=\" ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" $SYSROOT_PREFIX/usr/bin/sdl2-config
rm -rf $INSTALL/usr/bin rm -rf $INSTALL/usr/bin
} }