mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
dhcp-relay: Fix libtool files for internal bind build
The bundled libtool files are arcane and do not work in OE cross build environment, resulting in creating wrong entried in DT_NEEDED section as well as emitting build paths into rpaths into ELF files, therefore copy the OE provided libtool files to fix this issue Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -38,6 +38,7 @@ EXTRA_OECONF = "--enable-paranoia \
|
|||||||
--enable-libtool \
|
--enable-libtool \
|
||||||
--with-randomdev=/dev/random \
|
--with-randomdev=/dev/random \
|
||||||
"
|
"
|
||||||
|
EXTRA_OEMAKE += "LIBTOOL='${S}/${HOST_SYS}-libtool'"
|
||||||
|
|
||||||
# Enable shared libs per dhcp README
|
# Enable shared libs per dhcp README
|
||||||
do_configure_prepend () {
|
do_configure_prepend () {
|
||||||
@@ -48,6 +49,9 @@ do_compile_prepend() {
|
|||||||
tar xf ${S}/bind/bind.tar.gz -C ${S}/bind
|
tar xf ${S}/bind/bind.tar.gz -C ${S}/bind
|
||||||
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/bind/bind-9.11.14/
|
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/bind/bind-9.11.14/
|
||||||
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/bind/bind-9.11.14/
|
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/bind/bind-9.11.14/
|
||||||
|
cp -fpR ${S}/m4/*.m4 ${S}/bind/bind-9.11.14/libtool.m4/
|
||||||
|
rm -rf ${S}/bind/bind-9.11.14/libtool
|
||||||
|
install -m 0755 ${S}/${HOST_SYS}-libtool ${S}/bind/bind-9.11.14/
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install_append () {
|
do_install_append () {
|
||||||
|
|||||||
Reference in New Issue
Block a user