summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2009-10-14 11:31:59 -0500
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-10-14 09:38:20 -0700
commit489924bfb693a844f8f8ad6023fc78e4a212bef6 (patch)
tree288d856607031062dd283fd8d9a6c4a7eae7e6f5
parent64f21944c5f374b0da63657f01e289b34d00904c (diff)
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 <yselkowitz@users.sourceforge.net> Acked-by: Julien Cristau <jcristau@debian.org>
-rw-r--r--xfont.pc.in2
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