diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-02-26 06:47:59 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-28 11:33:07 +0000 |
commit | cd007488d22abf162f892b79148f031147272e81 (patch) | |
tree | f185d84394987f5a90a8d3c52313df0685f6cbab /meta | |
parent | b33efa964a227366e3f91ec6995484b6fbf37c97 (diff) | |
download | poky-cd007488d22abf162f892b79148f031147272e81.tar.gz |
gettext: Delete libintl.la file from install
gettext installs a libtool .la file for non-glibc systems
since it builds libintl for them unlike glibc where it finds that using
libc's gettext implementation is just fine. Same is not true for
musl even though musl provides itw own gettext implementation much on
then lines of glibc.
ideally gettetxt should be fixed to behave on musl, but at this time its
not clear if APIs are same and complete.
Deleting .la file helps compiling packages like util-linux when using
fstack-protections since it does not alter the order of libc on linker
cmdline
Moved src_uri checksums just below the SRC_URI as matter of formatting
(From OE-Core rev: 83d31c874c58c9e98f1f99cbad1a583e65ed72e6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/gettext/gettext_0.19.6.bb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/recipes-core/gettext/gettext_0.19.6.bb b/meta/recipes-core/gettext/gettext_0.19.6.bb index fead06aa85..592e4fc761 100644 --- a/meta/recipes-core/gettext/gettext_0.19.6.bb +++ b/meta/recipes-core/gettext/gettext_0.19.6.bb | |||
@@ -13,15 +13,15 @@ RCONFLICTS_${PN} = "proxy-libintl" | |||
13 | SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ | 13 | SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ |
14 | file://parallel.patch \ | 14 | file://parallel.patch \ |
15 | file://add-with-bisonlocaledir.patch \ | 15 | file://add-with-bisonlocaledir.patch \ |
16 | " | 16 | " |
17 | |||
18 | SRC_URI[md5sum] = "6d1447f8c5c45c329371ef4bfe7d79a5" | ||
19 | SRC_URI[sha256sum] = "ed4b4c19bd3a3034eb6769500a3592ff616759ef43cf30586dbb7a17c9dd695d" | ||
17 | 20 | ||
18 | PACKAGECONFIG[msgcat-curses] = "--with-libncurses-prefix=${STAGING_LIBDIR}/..,--disable-curses,ncurses," | 21 | PACKAGECONFIG[msgcat-curses] = "--with-libncurses-prefix=${STAGING_LIBDIR}/..,--disable-curses,ncurses," |
19 | 22 | ||
20 | LDFLAGS_prepend_libc-uclibc = " -lrt -lpthread " | 23 | LDFLAGS_prepend_libc-uclibc = " -lrt -lpthread " |
21 | 24 | ||
22 | SRC_URI[md5sum] = "6d1447f8c5c45c329371ef4bfe7d79a5" | ||
23 | SRC_URI[sha256sum] = "ed4b4c19bd3a3034eb6769500a3592ff616759ef43cf30586dbb7a17c9dd695d" | ||
24 | |||
25 | inherit autotools texinfo | 25 | inherit autotools texinfo |
26 | 26 | ||
27 | EXTRA_OECONF += "--without-lispdir \ | 27 | EXTRA_OECONF += "--without-lispdir \ |
@@ -49,6 +49,7 @@ acpaths = '-I ${S}/gettext-runtime/m4 \ | |||
49 | do_install_append_libc-musl () { | 49 | do_install_append_libc-musl () { |
50 | rm -f ${D}${libdir}/charset.alias | 50 | rm -f ${D}${libdir}/charset.alias |
51 | rm -f ${D}${includedir}/libintl.h | 51 | rm -f ${D}${includedir}/libintl.h |
52 | rm -f ${D}${libdir}/libintl.la | ||
52 | } | 53 | } |
53 | 54 | ||
54 | # these lack the .x behind the .so, but shouldn't be in the -dev package | 55 | # these lack the .x behind the .so, but shouldn't be in the -dev package |