[Commit] Xft xft-config.in,1.2,1.3 xft.pc.in,1.2,1.3
Branden Robinson
commit@keithp.com
Wed, 30 Apr 2003 17:49:22 -0700
Committed by: branden
Update of /local/src/CVS/Xft
In directory home.keithp.com:/home/branden/Xft
Modified Files:
xft-config.in xft.pc.in
Log Message:
Add -lX11 to the list of libraries one needs to link against when using Xft.
(Someday, perhaps XFree86 will support pkg-config...)
Index: xft-config.in
===================================================================
RCS file: /local/src/CVS/Xft/xft-config.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- xft-config.in 28 May 2002 15:59:32 -0000 1.2
+++ xft-config.in 1 May 2003 00:49:20 -0000 1.3
@@ -89,7 +89,7 @@
fi
if test "$echo_libs" = "yes" ; then
- libs="-lXft ${freetypelibs} ${fontconfiglibs} ${xrenderlibs}"
+ libs="-lXft -lX11 ${freetypelibs} ${fontconfiglibs} ${xrenderlibs}"
if test "${libdir}" != "/usr/lib" ; then
echo -L${libdir} $libs
else
Index: xft.pc.in
===================================================================
RCS file: /local/src/CVS/Xft/xft.pc.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- xft.pc.in 21 Apr 2003 16:59:26 -0000 1.2
+++ xft.pc.in 1 May 2003 00:49:20 -0000 1.3
@@ -11,5 +11,5 @@
Description: X FreeType library
Version: @VERSION@
Requires: fontconfig
-Libs: -L${libdir} -lXft ${freetypelibs} ${xrenderlibs}
+Libs: -L${libdir} -lXft -lX11 ${freetypelibs} ${xrenderlibs}
Cflags: -I${includedir} ${freetypecflags} ${xrendercflags}