[OE-core] [PATCH] cracklib, zlib: install to /lib instead of /usr/libxx

Phil Blundell philb at gnu.org
Tue Aug 7 18:30:23 UTC 2012


On Tue, 2012-08-07 at 14:30 -0400, Yao Zhao wrote:
> On 12-08-07 01:39 PM, Derek Buitenhuis wrote:
> > On 07/08/2012 1:31 PM, Yao Zhao wrote:
> >> In order to fix the QA Issue for libpam which installed to /lib but
> >> reference /usr/libxx/libz and libcrack, install libz and libcrack
> >> to /lib.
> > OpenBSD puts libpam.so in /lib, so it seems kosher...
> >
> >>   do_install() {
> >> -	oe_runmake DESTDIR=${D} install
> >> +	#libz.a installs to libdir, overwrite the env libdir
> >> +	#install pkgconfig to env libdir/pkgconfig
> >> +	oe_runmake DESTDIR=${D} pkgconfigdir="${libdir}/pkgconfig" \
> >> +		   libdir="${base_libdir}" install
> >>   }
> > If you're specifying --libdir when configuring, why do you need
> > libdir during make, as well?
> zlib is not using autotools although it has configure.
> when install, oe_runmake will be make -e so Makefile will always use 
> env's libdir which is the usr/libxx, we have to overwrite it when install.

Where do libz.a and libz.so end up after your patch?

p.





More information about the Openembedded-core mailing list