mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge pull request #3473 from MilhouseVH/le10_fix_lcdd
lcdd: fix cross-compile breakage
This commit is contained in:
commit
2b408b6eb6
@ -21,7 +21,7 @@ PKG_IS_ADDON="yes"
|
||||
PKG_ADDON_NAME="LCDproc"
|
||||
PKG_ADDON_TYPE="xbmc.service"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-ft-prefix=/usr \
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-ft-prefix=$SYSROOT_PREFIX/usr \
|
||||
--enable-libusb \
|
||||
--enable-libftdi \
|
||||
--disable-libX11 \
|
||||
@ -31,7 +31,6 @@ PKG_CONFIGURE_OPTS_TARGET="--with-ft-prefix=/usr \
|
||||
|
||||
pre_configure_target() {
|
||||
CFLAGS="$CFLAGS -O3"
|
||||
CFLAGS="$CFLAGS -I$SYSROOT_PREFIX/usr/include/freetype2"
|
||||
}
|
||||
|
||||
addon() {
|
||||
|
@ -27,5 +27,7 @@ pre_configure_target() {
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
sed -e "s#prefix=/usr#prefix=${SYSROOT_PREFIX}/usr#" -i "${SYSROOT_PREFIX}/usr/lib/pkgconfig/freetype2.pc"
|
||||
|
||||
cp -P "${PKG_BUILD}/.${TARGET_NAME}/freetype-config" "${SYSROOT_PREFIX}/usr/bin"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user