mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
pcre2: fix pcre2-config (used by vdr-plugin-epgsearch)
This commit is contained in:
parent
f0e7dcd0d4
commit
5c5e463c9c
@ -8,7 +8,7 @@ PKG_LICENSE="BSD"
|
||||
PKG_SITE="http://www.pcre.org/"
|
||||
PKG_URL="https://github.com/PCRE2Project/pcre2/releases/download/pcre2-${PKG_VERSION}/pcre2-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_HOST="toolchain:host"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_DEPENDS_TARGET="toolchain pcre2:host"
|
||||
PKG_LONGDESC="A set of functions that implement regular expression pattern matching using the same syntax."
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
|
||||
@ -36,4 +36,8 @@ post_unpack() {
|
||||
|
||||
post_makeinstall_target() {
|
||||
safe_remove ${INSTALL}/usr/bin
|
||||
|
||||
cp ${PKG_NAME}-config ${TOOLCHAIN}/bin
|
||||
sed -e "s:\(['= ]\)/usr:\\1${PKG_ORIG_SYSROOT_PREFIX}/usr:g" -i ${TOOLCHAIN}/bin/${PKG_NAME}-config
|
||||
chmod +x ${TOOLCHAIN}/bin/${PKG_NAME}-config
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user