[Zlib-devel] [PATCH] mingw zlib import library name
Volker Grabsch
vog at notjusthosting.com
Mon May 3 05:31:40 EDT 2010
Enrico Weigelt <weigelt at metux.de> schrieb:
> * John Bowler <jbowler at frontiernet.net> schrieb:
>
> > -config files support static linking, because -config files
> > have a '--static' option, but it doesn't necessarily do
> > what you might expect; I just checked:
> >
> > libpng-config --libs
> > -lpng15
> >
> > libpng-config --static --libs
> > -lpng15 -lz
>
> Well, looks funny ;-o
Looks perfectly correct to me.
> BTW: i'd consider the *-config scripts deprecated over pkg-config,
> since they're harder to masquerade (eg. for crosscompiling).
> w/ pkg-config you have a generic mechanism, so the build machinery
> has only one central point to cut into.
+1.
I avoid the *-config scripts as much as possible, because in
cross-compiling encironments they almost always cause trouble.
I'm so glad that nowadays most packages use pkg-config.
Greets,
Volker
--
Volker Grabsch
---<<(())>>---
Administrator
NotJustHosting GbR
More information about the Zlib-devel
mailing list