[json-glib] Do not hardcode paths in pkgconfig file



commit 471bcf28589e0929984c4e6a097ae273b017b3f0
Author: Anssi Hannula <anssi mandriva org>
Date:   Fri May 28 11:57:18 2010 +0100

    Do not hardcode paths in pkgconfig file
    
    The pkgconfig file correctly sets $prefix to @prefix@, but the other
    paths are hardcoded to ones relative to $prefix.
    
    prefix= prefix@
    exec_prefix=${prefix}
    libdir=${exec_prefix}/lib
    includedir=${exec_prefix}/include
    
    https://bugzilla.gnome.org/show_bug.cgi?id=613282
    
    Signed-off-by: Emmanuele Bassi <ebassi linux intel com>

 json-glib.pc.in |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/json-glib.pc.in b/json-glib.pc.in
index 13f64a5..c49bc9e 100644
--- a/json-glib.pc.in
+++ b/json-glib.pc.in
@@ -1,7 +1,7 @@
 prefix= prefix@
-exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
-includedir=${exec_prefix}/include
+exec_prefix= exec_prefix@
+libdir= libdir@
+includedir= includedir@
 
 Name: JSON-GLib
 Description: JSON Parser for GLib



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]