summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Langasek <steve.langasek@linaro.org>2011-05-17 10:51:10 +0200
committerSergey V. Udaltsov <svu@gnome.org>2011-05-17 20:46:54 +0100
commit28fb40783f27d08d8852a60d3a627fded53c6431 (patch)
tree5ed341dc1503bcd24763a8022dba7b77263be8e3
parentb8ab34f4c9e46556654d9082b3ef9ca6d8b2adfa (diff)
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
-rw-r--r--libxklavier.pc.in6
1 files changed, 3 insertions, 3 deletions
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}