diff options
| author | Marco Villegas <marvil07@gmail.com> | 2010-12-22 04:02:18 -0500 |
|---|---|---|
| committer | Marco Villegas <marvil07@gmail.com> | 2010-12-22 04:09:24 -0500 |
| commit | bd6eb23022e0f8d8bbd04d587f402731294f8a68 (patch) | |
| tree | 18fcac777ac7b98ceb17b805ec8b61d15345b23a /wscript | |
| parent | 40c44d2fb63dbe484824c9dbc7c098c797ad10a1 (diff) | |
| download | libgit2-bd6eb23022e0f8d8bbd04d587f402731294f8a68.tar.gz | |
minor: Let waf write the right values for prefix and libdir at pkg-config file.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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', |
