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

This commit is contained in:
Vicent Marti 2010-12-23 00:48:35 +02:00
commit f464965584

View File

@ -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',