[PATCH:libXfont] Add -lbz2 to Libs.private if bzip2 is enabled
Alan Coopersmith
Alan.Coopersmith at Sun.COM
Wed Oct 14 09:40:04 PDT 2009
Looks good to me too - pushed to master. Thanks,
-alan-
Yaakov (Cygwin/X) wrote:
> 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>
> Acked-by: Julien Cristau <jcristau at debian.org>
> ---
> 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
--
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering
More information about the xorg-devel
mailing list