[oe] [PATCH 2/3] proxy-libintl_20080418.bb: Build shared library instead of static.
Phil Blundell
philb at gnu.org
Tue Sep 15 07:57:46 UTC 2009
On Mon, 2009-09-14 at 23:41 -0700, Khem Raj wrote:
> +LEAD_SONAME = "libintl.so"
>
> S = "${WORKDIR}"
> -FILES_${PN}-dev = "${includedir} ${libdir}"
> +FILES_${PN}-dev = "${includedir}"
> +FILES_${PN} = "${libdir}/libintl.so"
What's the reason for setting LEAD_SONAME? It looks like it would be
unnecessary if you only have that one file in the output package.
>
> CFLAGS_append = " -Wall -I ../../include ${@['-DSTUB_ONLY', ''][bb.data.getVar('USE_NLS', d, 1) != 'no']}"
> @@ -32,15 +34,13 @@ do_install() {
> install -d ${D}/usr/lib
>
> install -m 0644 ${WORKDIR}/include/libintl.h ${D}/${includedir}
> - install -m 0644 ${WORKDIR}/lib/libintl.a ${D}/${libdir}
> + install -m 0644 ${WORKDIR}/lib/libintl.so ${D}/${libdir}
I'd have thought you might as well continue to ship the .a file for
those who want it. It won't do any harm since the linker will prefer
the shared object when both exist.
p.
More information about the Openembedded-devel
mailing list