Do not hardcode paths in pkgconfig file

The pkgconfig file correctly sets $prefix to @prefix@, but the other
paths should be relative to $prefix.
This commit is contained in:
Emmanuele Bassi 2010-06-22 08:29:02 +01:00
parent 05b6c283eb
commit 7e6b60270d

View File

@ -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)