[PATCH] Ignore the default %libdir/pkgconfig directory

Farkas Levente lfarkas at gmail.com
Wed Jan 28 23:55:15 UTC 2009


Richard W.M. Jones wrote:
> On Wed, Jan 28, 2009 at 03:42:23PM -0800, Dan Nicholson wrote:
>> On Wed, Jan 28, 2009 at 3:38 PM, Richard W.M. Jones <rjones at redhat.com> wrote:
>>> On Wed, Jan 28, 2009 at 03:33:39PM -0800, Dan Nicholson wrote:
>>>> If you set PKG_CONFIG_LIBDIR=/usr/i686-pc-mingw/sys-root/mingw/lib/pkgconfig,
>>>> does that also work? I believe that was the intention of this
>>>> variable.
>>> Yes, I think that should work, and I'm not sure why we didn't see it
>>> before.  Anyhow, I'll try it out later this week.
>> Pretty easy to test. Assume you have foo.pc in
>> /usr/i686-pc-mingw/sys-root/mingw/lib/pkgconfig and
>> /usr/lib/pkgconfig.
>>
>> $ PKG_CONFIG_LIBDIR=/usr/i686-pc-mingw/sys-root/mingw/lib/pkgconfig
>> PKG_CONFIG_DEBUG_SPEW=1 pkg-config --print-errors --exists foo
>>
>> That should give you any information you need to see. You can also
>> make PKG_CONFIG_LIBDIR into a PATH like variable:
>>
>> PKG_CONFIG_LIBDIR=/usr/i686-pc-mingw/sys-root/mingw/lib/pkgconfig:/usr/i686-pc-mingw/sys-root/mingw/share/pkgconfig
> 
> Yes, I confirmed this does work.

you mean in this way?

-- 
  Levente                               "Si vis pacem para bellum!"
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: filesystem.patch
Url: http://lists.fedoraproject.org/pipermail/mingw/attachments/20090129/ec84a4e8/attachment.pl 


More information about the mingw mailing list