Merge branch 'waf-pkgconfig-typo' of https://github.com/marvil07/libgit2
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',