From 489924bfb693a844f8f8ad6023fc78e4a212bef6 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Wed, 14 Oct 2009 11:31:59 -0500 Subject: Add -lbz2 to Libs.private if bzip2 is enabled 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 Acked-by: Julien Cristau --- xfont.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3