[oe] Issues building tinyXML
Phil Blundell
philb at gnu.org
Thu Sep 6 16:19:23 UTC 2012
On Thu, 2012-09-06 at 17:15 +0100, Jack Mitchell wrote:
> do_compile() {
> oe_runmake LD="${CXX}"
>
> ${CXX} -fpic -shared -o lib${PN}.so.0.${PV} \
> -Wl,-soname,lib${PN}.so.0 $(ls *.o | grep -v xmltest)
You need to get -fpic into ${CXXFLAGS} and/or ${CFLAGS} so that it's
used to build the individual objects as well.
> FILES_${PN} = "libtinyxml.so.0.${PV}}"
That should be ${libdir}/lib${PN}.so.0, with fewer }s on the end. The
name of the file you ship needs to match the soname that you give it, or
at least be symlinked to that name.
p.
More information about the Openembedded-devel
mailing list