Take advantage of Requires and *.private fields for a more accurate pkg-config file.
authorJamey Sharp <jamey@minilop.net>
Fri, 24 Feb 2006 09:56:18 +0000 (01:56 -0800)
committerJamey Sharp <jamey@minilop.net>
Fri, 24 Feb 2006 09:56:18 +0000 (01:56 -0800)
xcb.pc.in

index 108165d..cc4910d 100644 (file)
--- a/xcb.pc.in
+++ b/xcb.pc.in
@@ -6,5 +6,8 @@ includedir=@includedir@
 Name: XCB
 Description: X-protocol C Binding
 Version: @PACKAGE_VERSION@
-Libs: -L${libdir} -lXCB @XPROTO_LIBS@ @LIBS@
-Cflags: -I${includedir} @XPROTO_CFLAGS@
+Requires: xproto
+Requires.private: xau
+Libs: -L${libdir} -lXCB
+Libs.private: @LIBS@
+Cflags: -I${includedir}