mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-30 18:05:30 +00:00
minor: Let waf write the right values for prefix and libdir at pkg-config file.
This commit is contained in:
parent
40c44d2fb6
commit
bd6eb23022
2
wscript
2
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',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user