From bd6eb23022e0f8d8bbd04d587f402731294f8a68 Mon Sep 17 00:00:00 2001 From: Marco Villegas Date: Wed, 22 Dec 2010 04:02:18 -0500 Subject: [PATCH] minor: Let waf write the right values for prefix and libdir at pkg-config file. --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 104de86a5..558163196 100644 --- a/wscript +++ b/wscript @@ -124,7 +124,7 @@ def build_library(bld, lib_str): # On Unix systems, build the Pkg-config entry file if bld.env.PLATFORM == 'unix': - 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',