[oe] [PATCH] cmake.bbclass: set the rpath for binaries build with cmake to ${libdir}

Phil Blundell philb at gnu.org
Wed May 4 16:09:48 UTC 2011


On Wed, 2011-05-04 at 17:50 +0200, Simon Busch wrote:
> +# We need to set the rpath to the correct directory as cmake does not provide any
> +# directory as rpath by default
> +  echo "set( CMAKE_INSTALL_RPATH ${libdir} )" >> ${WORKDIR}/toolchain.cmake

Shouldn't this be inside some kind of guard for native?  You don't want
rpath in target binaries, do you?

p.






More information about the Openembedded-devel mailing list