On Thu, 2010-12-09 at 15:00 -0500, Gaetan Nadon wrote:
> What is your version of pkg-config? Version 0.22 or higher is
> required. 

0.25

>         $ pkg-config --libs sm
>         -L/home/nadon/xorg/src/lib -lSM -lICE  

$ pkg-config --libs sm 
-lSM

>         $ pkg-config --libs xt
>         -L/home/nadon/xorg/src/lib -lXt -lX11  

$ pkg-config --libs xt 
-lXt  

>         $ pkg-config --libs xmuu
>         -L/home/nadon/xorg/src/lib -lXmuu -lX11  

$ pkg-config --libs xmuu
-lXmuu

> In libSM/sm.pc: 
>         Requires: ice xproto
>         Requires.private: ice
>         Cflags: -I${includedir}
>         Libs: -L${libdir} -lSM
> libICE is pulled in when returning cflags for libSM due to the
> Requires statement.

$ cat /usr/lib/pkgconfig/sm.pc 
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: SM
Description: X Session Management Library
Version: 1.2.0
Requires.private: ice xproto
Cflags: -I${includedir}
Libs: -L${libdir} -lSM



Turns out this is caused by the Requires: in the .pc's being patched in
Debian and it's being fixed there instead, sorry for the noise!

Thanks,
Robert Hooker

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to