summaryrefslogtreecommitdiff
path: root/libgit2.pc.in
diff options
context:
space:
mode:
authorDominique Leuenberger <dimstar@opensuse.org>2015-09-10 16:11:10 +0200
committerDominique Leuenberger <dimstar@opensuse.org>2015-09-18 11:05:57 +0200
commit5540d9db206c1c967f32d1e9f09f3568a275f3ae (patch)
treebdb3e8bbc2c4d94f24e019b8a70dd1f724428f26 /libgit2.pc.in
parent6c21211c3842ae4c86d7ad7eba05b3268fa117ac (diff)
downloadlibgit2-5540d9db206c1c967f32d1e9f09f3568a275f3ae.tar.gz
pkg-config: fix directory references in libgit2.pc
Before: libdir=/usr//usr/lib64 includedir=/usr//usr/include After: libdir=/usr/lib64 includedir=/usr/include (note the duplication of /usr in the before case)
Diffstat (limited to 'libgit2.pc.in')
-rw-r--r--libgit2.pc.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/libgit2.pc.in b/libgit2.pc.in
index 3d825a49f..880266a30 100644
--- a/libgit2.pc.in
+++ b/libgit2.pc.in
@@ -1,5 +1,6 @@
-libdir=@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@
-includedir=@CMAKE_INSTALL_PREFIX@/@INCLUDE_INSTALL_DIR@
+prefix=@PKGCONFIG_PREFIX@
+libdir=@PKGCONFIG_LIBDIR@
+includedir=@PKGCONFIG_INCLUDEDIR@
Name: libgit2
Description: The git library, take 2