[PATCH:libXfont] Add -lbz2 to Requires.private if bzip2 is enabled
Yaakov (Cygwin/X)
yselkowitz at users.sourceforge.net
Wed Oct 14 01:10:58 PDT 2009
From: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
This is required on Cygwin, which must link the xservers with a static
libXfont due to poor weak-symbol support. Z_LIBS includes -lz and, if
bzip2 support is enabled, -lbz2.
Signed-off-by: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
---
xfont.pc.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/xfont.pc.in b/xfont.pc.in
index aaed29c..f08dea0 100644
--- a/xfont.pc.in
+++ b/xfont.pc.in
@@ -10,4 +10,4 @@ Requires: xproto fontsproto
Requires.private: fontenc @FREETYPE_REQUIRES@
Cflags: -I${includedir}
Libs: -L${libdir} -lXfont
-Libs.private: -lz -lm
+Libs.private: @Z_LIBS@ -lm
--
1.6.4.2
More information about the xorg-devel
mailing list