From 28fb40783f27d08d8852a60d3a627fded53c6431 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Tue, 17 May 2011 10:51:10 +0200 Subject: Fix dependencies in pkg-config file Don't substitute the CFLAGS and LDFLAGS of other libraries into libxklavier.pc.in. These cause build failures in multi-arch environments, as the header files moved to a different directory. Use Requires.private, which is what pkg-config is designed for. https://bugs.freedesktop.org/show_bug.cgi?id=37278 --- libxklavier.pc.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libxklavier.pc.in') diff --git a/libxklavier.pc.in b/libxklavier.pc.in index eb7ac90..b53d77e 100644 --- a/libxklavier.pc.in +++ b/libxklavier.pc.in @@ -5,7 +5,7 @@ includedir=@includedir@ Name: libxklavier Description: libxklavier library -Requires: libxml-2.0 +Requires.private: gobject-2.0 glib-2.0 libxml-2.0 Version: @VERSION@ -Libs: -L${libdir} -lxklavier @GLIB_LIBS@ @XML_LIBS@ -Cflags: -I${includedir} @GLIB_CFLAGS@ +Libs: -L${libdir} -lxklavier +Cflags: -I${includedir} -- cgit v1.2.1