[PATCH] Move xtrans.pc to /usr/share/pkg-config

Mikhail Gusarov dottedmag at dottedmag.net
Fri Sep 25 14:39:20 PDT 2009


This fixes configuration in cross-compilation mode:
pkg-config does not look for .pc in /usr/lib/pkg-config during
cross-compilation to avoid picking up wrong libraries.

Signed-off-by: Mikhail Gusarov <dottedmag at dottedmag.net>
---
 Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index f30b57a..d816eb2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -12,7 +12,7 @@ Xtransinclude_HEADERS = \
 aclocaldir = $(datadir)/aclocal
 aclocal_DATA = xtrans.m4
 
-pkgconfigdir = $(libdir)/pkgconfig
+pkgconfigdir = $(datadir)/pkgconfig
 pkgconfig_DATA = xtrans.pc
 
 EXTRA_DIST = xtrans.pc.in ${aclocal_DATA} ChangeLog
-- 
1.6.3.3



More information about the xorg-devel mailing list