libX11 and Xau functions

Enrico Weigelt weigelt at
Wed May 16 07:33:54 PDT 2007

* Matthieu Herrb <matthieu.herrb at> schrieb:
> Donnie Berkholz wrote:
> > Matthieu Herrb wrote:
> >> - those with static only libraries, they need to add libXau and libXdmcp
> >> manually to each linker command line.
> > 
> > They should be passing --static to pkg-config, which makes it spit out
> > the Libs.private line. That contains everything needed for static linking.
> > 
> Not all existing applications use pkg-config to configure X libraries.

Then they should be fixed to do so ;-P

I'd HIGHLY recommend *always* to use pkg-config for importing. 
If for some reason stock pkg-config doesn't work for you, drop 
in an customized one. 

 Enrico Weigelt    ==   metux IT service -
 Please visit the OpenSource QM Taskforce:
 Patches / Fixes for a lot dozens of packages in dozens of versions:

More information about the xorg mailing list