diff options
Diffstat (limited to 'yocto-poky/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb')
-rw-r--r-- | yocto-poky/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/yocto-poky/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb b/yocto-poky/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb index 847880270..0204d347b 100644 --- a/yocto-poky/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb +++ b/yocto-poky/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb @@ -16,7 +16,11 @@ do_configure_prepend () { do_install () { install -d ${D}${bindir_crossscripts}/ install -m 0755 ${HOST_SYS}-libtool ${D}${bindir_crossscripts}/${HOST_SYS}-libtool - install -d ${D}${bindir_crossscripts}/ + sed -e 's@^\(predep_objects="\).*@\1"@' \ + -e 's@^\(postdep_objects="\).*@\1"@' \ + -i ${D}${bindir_crossscripts}/${HOST_SYS}-libtool + sed -i '/^archive_cmds=/s/\-nostdlib//g' ${D}${bindir_crossscripts}/${HOST_SYS}-libtool + sed -i '/^archive_expsym_cmds=/s/\-nostdlib//g' ${D}${bindir_crossscripts}/${HOST_SYS}-libtool GREP='/bin/grep' SED='sed' ${S}/build-aux/inline-source libtoolize > ${D}${bindir_crossscripts}/libtoolize chmod 0755 ${D}${bindir_crossscripts}/libtoolize install -d ${D}${target_datadir}/libtool/build-aux/ |