mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
util-macros: set PKGCONFIG directory to /usr/lib/pkgconfig
util-macros 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
ebd0c203b8
commit
65e42b9492
@ -10,6 +10,11 @@ PKG_URL="http://xorg.freedesktop.org/archive/individual/util/${PKG_NAME}-${PKG_V
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="X.org autoconf utilities such as M4 macros."
|
||||
|
||||
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() {
|
||||
rm -rf ${INSTALL}/usr
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user