Commit bd6eb230 by Marco Villegas

minor: Let waf write the right values for prefix and libdir at pkg-config file.

parent 40c44d2f
......@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment