mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/build: remove sed's for fixing *.pc files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
295d1e0315
commit
f8f7e127ac
@ -49,20 +49,12 @@ if [ ! -f $STAMP ]; then
|
||||
for i in `find $SYSROOT_PREFIX/usr/lib/ -name "*.la"`; do \
|
||||
$SED "s:\(['= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" $i; \
|
||||
done
|
||||
for i in `find $SYSROOT_PREFIX/usr/lib/ -name "*.pc"`; do \
|
||||
$SED "s:\(['= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" $i; \
|
||||
done
|
||||
elif [ -f $PKG_BUILD/Makefile ]; then
|
||||
$SCRIPTS/build toolchain
|
||||
make -C $PKG_BUILD >&$VERBOSE_OUT
|
||||
for i in `find $SYSROOT_PREFIX/usr/lib/ -name "*.la"`; do \
|
||||
$SED "s:\(['= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" $i; \
|
||||
done
|
||||
for i in `find $SYSROOT_PREFIX/usr/lib/ -name "*.pc"`; do \
|
||||
$SED "s:\(['= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" $i; \
|
||||
done
|
||||
# elif [ "$1" != "${1#theme-}" ]; then
|
||||
# $SCRIPTS/build-theme $@ >&$VERBOSE_OUT
|
||||
elif [ -f $PKG_BUILD/$1.c ]; then
|
||||
$SCRIPTS/build toolchain
|
||||
make -C $PKG_BUILD $1 >&$VERBOSE_OUT
|
||||
|
Loading…
x
Reference in New Issue
Block a user