mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
libpng: dont install libpng*-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:
parent
4646c8b19e
commit
57be78a9d2
@ -51,10 +51,8 @@ pre_configure_target() {
|
||||
|
||||
post_makeinstall_target() {
|
||||
sed -e "s:\([\"'= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" \
|
||||
-e "s:libs=\"-lpng15\":libs=\"-lpng15 -lz\":g" \
|
||||
-e "s:libs=\"-lpng16\":libs=\"-lpng16 -lz\":g" \
|
||||
-i $SYSROOT_PREFIX/usr/bin/libpng*-config
|
||||
|
||||
cp -P $SYSROOT_PREFIX/usr/bin/libpng*-config $ROOT/$TOOLCHAIN/bin
|
||||
|
||||
rm -rf $INSTALL/usr/bin
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user