summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--libcroco.pc.in4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index cebfb7d..42424b0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-17 Thomas Wood <thos@gnome.org>
+
+ * libcroco.pc.in: ensure the library and compiler flags are not
+ hardcoded into the package config file. (bug 342370)
+
============= 0.6.2 release =======================
2009-02-04 Thomas Wood <thos@gnome.org>
diff --git a/libcroco.pc.in b/libcroco.pc.in
index 8a94fba..a8b6e78 100644
--- a/libcroco.pc.in
+++ b/libcroco.pc.in
@@ -7,6 +7,6 @@ Name: libcroco
Version: @VERSION@
Description: a CSS2 Parsing and manipulation Library in C.
Requires: glib-2.0 libxml-2.0
-Libs: @CROCO_LIBS@
-Cflags: @CROCO_CFLAGS@
+Libs: -L${libdir} -lcroco-@LIBCROCO_MAJOR_VERSION@.@LIBCROCO_MINOR_VERSION@
+Cflags: -I${includedir}/libcroco-@LIBCROCO_MAJOR_VERSION@.@LIBCROCO_MINOR_VERSION@