From 7e6b60270d1951f0789868740b8df6acfe677d57 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 22 Jun 2010 08:29:02 +0100 Subject: [PATCH] Do not hardcode paths in pkgconfig file The pkgconfig file correctly sets $prefix to @prefix@, but the other paths should be relative to $prefix. --- clutter.pc.in | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/clutter.pc.in b/clutter.pc.in index e2f0dae34..a204a4353 100644 --- a/clutter.pc.in +++ b/clutter.pc.in @@ -1,14 +1,17 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ +libdir=${exec_prefix}/libdir +includedir=${prefix}/include + apiversion=@CLUTTER_API_VERSION@ -requires=@CLUTTER_REQUIRES@ -backend=@CLUTTER_WINSYS@ #only kept for backward compatability winsys=@CLUTTER_WINSYS@ soname_infix=@CLUTTER_SONAME_INFIX@ -cogl=@COGL_DRIVER@ #only kept for backward compatability cogl_driver=@COGL_DRIVER@ +requires=@CLUTTER_REQUIRES@ + +# only kept for backward compatibility +cogl=@COGL_DRIVER@ +backend=@CLUTTER_WINSYS@ Name: Clutter Description: Clutter Core Library (${winsys}/${cogl_driver} backend)