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. _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core