[OE-core] [PATCH] openssl: Move libcrypto to base_libdir

Phil Blundell philb at gnu.org
Thu Feb 9 18:33:43 UTC 2012


On Thu, 2012-02-09 at 20:30 +0200, Andrei Gherzan wrote:
> +	# Moving libcrypto to /usr
> +	mkdir -p ${D}/${base_libdir}/
> +	mv ${D}${libdir}/libcrypto* ${D}${base_libdir}/

That looks like it will fail if ${libdir} and ${base_libdir} are the
same.

> +	sed -i s/usr// ${D}/${libdir}/pkgconfig/libcrypto.pc

Also, this seems like it might fail if ${prefix} was set to something
other than "/usr".  

Do you really want to put the development files in ${base_libdir}
anyway?  I would have thought that even the most enthusiastic proponents
of a standalone / would not expect to be able to use the compiler
without /usr mounted.

p.






More information about the Openembedded-core mailing list