Subject: pkg-config files
To: None <tech-x11@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: tech-x11
Date: 10/26/2003 19:20:53
What are your views on this sort of thing?

Cheers,

Patrick

Index: Xcursor/xcursor.pc.in
===================================================================
RCS file: /cvsroot/xsrc/xfree/xc/lib/Xcursor/xcursor.pc.in,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 xcursor.pc.in
--- xcursor.pc.in	2003/02/28 13:18:51	1.1.1.1
+++ xcursor.pc.in	2003/10/26 18:48:55
@@ -7,5 +7,5 @@
 Description: X Cursor library
 Version: @PACKAGE_VERSION@
 Requires:
-Libs: -L${libdir} -lXcursor
+Libs: -Wl,-R${libdir} -L${libdir} -lXcursor
 Cflags: -I${includedir}
Index: Xft/xft.pc.in
===================================================================
RCS file: /cvsroot/xsrc/xfree/xc/lib/Xft/xft.pc.in,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 xft.pc.in
--- xft.pc.in	2003/02/28 13:18:51	1.1.1.1
+++ xft.pc.in	2003/10/26 18:48:55
@@ -11,5 +11,5 @@
 Description: X FreeType library
 Version: @PACKAGE_VERSION@
 Requires: fontconfig
-Libs: -L${libdir} -lXft ${freetypelibs} ${xrenderlibs}
+Libs: -Wl,-R${libdir} -L${libdir} -lXft ${freetypelibs} ${xrenderlibs}
 Cflags: -I${includedir} ${freetypecflags} ${xrendercflags}
Index: fontconfig/fontconfig.pc.in
===================================================================
RCS file: /cvsroot/xsrc/xfree/xc/lib/fontconfig/fontconfig.pc.in,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 fontconfig.pc.in
--- fontconfig.pc.in	2003/02/28 13:18:56	1.1.1.1
+++ fontconfig.pc.in	2003/10/26 18:48:55
@@ -6,5 +6,5 @@
 Name: Fontconfig
 Description: Font configuration and customization library
 Version: @PACKAGE_VERSION@
-Libs: -L${libdir} -lfontconfig
+Libs: -Wl,-R${libdir} -L${libdir} -lfontconfig
 Cflags: -I${includedir}