summaryrefslogtreecommitdiff
path: root/libgit2.pc.in
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2011-08-07 18:44:08 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2011-08-07 18:44:08 +0200
commit2327a7cc100e38d176fe48dc3a2bf50045890be8 (patch)
treecc6e5f5b257b3f288276f45d729d2095ead6dd81 /libgit2.pc.in
parenta655cc3571206957991420089dc038bc5a04349b (diff)
downloadlibgit2-2327a7cc100e38d176fe48dc3a2bf50045890be8.tar.gz
Create and install pkg-config file
This hasn't been working since the switch away from waf. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'libgit2.pc.in')
-rw-r--r--libgit2.pc.in8
1 files changed, 3 insertions, 5 deletions
diff --git a/libgit2.pc.in b/libgit2.pc.in
index ece5f2b8e..6165ad678 100644
--- a/libgit2.pc.in
+++ b/libgit2.pc.in
@@ -1,11 +1,9 @@
-prefix=@prefix@
-exec_prefix=${prefix}
-libdir=@libdir@
-includedir=${prefix}/include
+libdir=@CMAKE_INSTALL_PREFIX@/@INSTALL_LIB@
+includedir=@CMAKE_INSTALL_PREFIX@/@INSTALL_INC@
Name: libgit2
Description: The git library, take 2
-Version: @version@
+Version: @LIBGIT2_VERSION_STRING@
Requires: libcrypto
Libs: -L${libdir} -lgit2 -lz -lcrypto
Cflags: -I${includedir}