Fix build with --with-included-glib on Darwin

Dan Nicholson nicholson at endlessm.com
Tue Mar 1 15:09:32 UTC 2016


On Feb 29, 2016 7:43 PM, "Adam Mercer" <ramercer at gmail.com> wrote:
>
> On Mon, Feb 29, 2016 at 5:58 PM, Dan Nicholson <nicholson at endlessm.com>
wrote:
>
> > I don't really want to carry a separate platform check in pkg-config's
> > configure, so I wonder if you could see if the attached patch fixes
> > things.
>
> Looks like that does the trick, it builds with that patch applied.
>
> > Could you show the contents of glib/glib/libglib-2.0.la in
> > both cases?

Perfect, thanks for testing. Indeed, the framework flags get dropped from
inherited_linker_flags and don't get passed on when linking pkg-config.

I'll go ahead with this patch and will release 0.29.1 this week.

Thanks for you help!
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pkg-config/attachments/20160301/38538b3d/attachment.html>


More information about the pkg-config mailing list