Commit f46496558472b7d39c9e3eadf02be1f8ef4f6512

Vicent Marti 2010-12-23T00:48:35

Merge branch 'waf-pkgconfig-typo' of https://github.com/marvil07/libgit2

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/wscript b/wscript
index 6f89804..0307df5 100644
--- a/wscript
+++ b/wscript
@@ -127,7 +127,7 @@ def build_library(bld, build_type):
 
     # On Unix systems, build the Pkg-config entry file
     if bld.env.PLATFORM == 'unix' and bld.is_install:
-        bld(rule="""sed -e 's#@prefix@#$(prefix)#' -e 's#@libdir@#$(libdir)#' < ${SRC} > ${TGT}""",
+        bld(rule="""sed -e 's#@prefix@#${PREFIX}#' -e 's#@libdir@#${LIBDIR}#' < ${SRC} > ${TGT}""",
             source='libgit2.pc.in',
             target='libgit2.pc',
             install_path='${LIBDIR}/pkgconfig',