mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Compiling own libs with mingw-cross-env


From: Volker Grabsch
Subject: Re: [Mingw-cross-env-list] Compiling own libs with mingw-cross-env
Date: Wed, 20 Oct 2010 17:17:35 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

David Bruce <address@hidden> schrieb:
> (Follow-up)
> 
> > So how is a lib in mingw-cross-env supposed to supply the arguments so
> > that all the libs it needs will be found?
> 
> I think the answer is pkg-config, right?

Yes.

Moreover, you should use the PKG_CHECK_MODULES() and similar macros.

In case you're hand-coding it, make sure to check for $(TARGET)-pkg-config,
because the mingw-cross-env of course doesn't touch your native pkg-config
tool, so it has its own variant with a naming prefix (i686-pc-mingw32-pkg-
config).

Also note that I just fixed a little issue with the SDL_Pango.pc file,
so make sure you use the latest mingw-cross-env (hg pull -u).

http://hg.savannah.gnu.org/hgweb/mingw-cross-env/rev/8b07a2f4aa1f


Greets,
Volker

-- 
Volker Grabsch
---<<(())>>---



reply via email to

[Prev in Thread] Current Thread [Next in Thread]