mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
xtrans: set PKGCONFIG directory to /usr/lib/pkgconfig
xtrans does not allow pkgconfigdir to be set independently of datadir. If datadir is changed to /usr/lib instead of /usr/share - then the aclocal files are also placed into /usr/lib - causing an error when aclocal and its subordinate programs are run.
This commit is contained in:
parent
65e42b9492
commit
2d3a2e620e
@ -13,6 +13,11 @@ PKG_LONGDESC="Abstract network code for X."
|
|||||||
|
|
||||||
PKG_CONFIGURE_OPTS_TARGET="--without-xmlto"
|
PKG_CONFIGURE_OPTS_TARGET="--without-xmlto"
|
||||||
|
|
||||||
|
pre_configure_target() {
|
||||||
|
sed -i 's|^pkgconfigdir = .*|pkgconfigdir = /usr/lib/pkgconfig|' ${PKG_BUILD}/Makefile.am
|
||||||
|
sed -i 's|^pkgconfigdir = .*|pkgconfigdir = /usr/lib/pkgconfig|' ${PKG_BUILD}/Makefile.in
|
||||||
|
}
|
||||||
|
|
||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
mkdir -p ${SYSROOT_PREFIX}/usr/lib/pkgconfig
|
mkdir -p ${SYSROOT_PREFIX}/usr/lib/pkgconfig
|
||||||
cp xtrans.pc ${SYSROOT_PREFIX}/usr/lib/pkgconfig
|
cp xtrans.pc ${SYSROOT_PREFIX}/usr/lib/pkgconfig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user