On Fri, 2008-03-28 at 14:43 +0100, Raphael Hertzog wrote:
> On Tue, 01 Jan 2008, Neil Williams wrote:
> > The full setting for PKG_CONFIG_LIBDIR is:
> > 
> > $ENV{PKG_CONFIG_LIBDIR}="/usr/$(DEB_HOST_GNU_TYPE)/lib/pkgconfig/:/usr/share/pkgconfig/";
> > 
> > Adding /usr/share/ allows the few Architecture: all packages that
> > contain pkgconfig data to be located during cross builds. (e.g.
> > gnome-mime-data).
> 
> Please review the attached patch. I hope it does what you want.
> If it works for you, then I'll integrate it for the next dpkg.

It works perfectly, thanks Raphael.

I've been testing it on a variety of existing Emdebian packages and it
works exactly as requested.

> Having the opinion of Frank and Guillem would be nice too.
> 
> I believe it's worthwhile to try to get those changes for lenny. 

Closing this and #453267 would provide sane cross-building support
native to dpkg in Lenny and that is fantastic news. It may not sound
like a big event to the rest of Debian, but IMHO this warrants being
listed as one of the major improvements between Etch and Lenny for
anyone interested in embedded development.

> I have no definitive opinion on this particular patch, but it's important
> to have a sane cross-compilation toolchain and if that helps Neil, then
> I'm ok for it.

I may be the one filing the bugs but there are lots of other people who
want to use Debian as their platform-of-choice when developing embedded
software.

Thanks for committing this improvement to dpkg!

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to