diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-05-31 20:27:25 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-06-01 07:49:06 -0700 |
commit | 689e8ed550d23fbdaeb71abc7a6c6f891469c5e2 (patch) | |
tree | 7a92a6e0186a00b8bd6e95b79baaab8cf9ff43fd /meta-networking | |
parent | b4dedcede9339b4947760b6910dc5bb62495f17f (diff) | |
download | meta-openembedded-689e8ed550d23fbdaeb71abc7a6c6f891469c5e2.tar.gz |
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>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.2.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.2.bb b/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.2.bb index 2af41b217..b178180ec 100644 --- a/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.2.bb +++ b/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.2.bb | |||
@@ -38,6 +38,7 @@ EXTRA_OECONF = "--enable-paranoia \ | |||
38 | --enable-libtool \ | 38 | --enable-libtool \ |
39 | --with-randomdev=/dev/random \ | 39 | --with-randomdev=/dev/random \ |
40 | " | 40 | " |
41 | EXTRA_OEMAKE += "LIBTOOL='${S}/${HOST_SYS}-libtool'" | ||
41 | 42 | ||
42 | # Enable shared libs per dhcp README | 43 | # Enable shared libs per dhcp README |
43 | do_configure_prepend () { | 44 | do_configure_prepend () { |
@@ -48,6 +49,9 @@ do_compile_prepend() { | |||
48 | tar xf ${S}/bind/bind.tar.gz -C ${S}/bind | 49 | tar xf ${S}/bind/bind.tar.gz -C ${S}/bind |
49 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/bind/bind-9.11.14/ | 50 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/bind/bind-9.11.14/ |
50 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/bind/bind-9.11.14/ | 51 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/bind/bind-9.11.14/ |
52 | cp -fpR ${S}/m4/*.m4 ${S}/bind/bind-9.11.14/libtool.m4/ | ||
53 | rm -rf ${S}/bind/bind-9.11.14/libtool | ||
54 | install -m 0755 ${S}/${HOST_SYS}-libtool ${S}/bind/bind-9.11.14/ | ||
51 | } | 55 | } |
52 | 56 | ||
53 | do_install_append () { | 57 | do_install_append () { |