]> git.kaiwu.me - njs.git/commit
Configure: fix pkg-config paths for absolute build directories
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 22 Oct 2026 14:14:14 +0000 (07:14 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Thu, 22 Oct 2026 21:25:01 +0000 (14:25 -0700)
commit8e9a4663dcfda31ace7fc6014d36267a7def9e09
tree9b630cf50625d4de4b6423cf6ec4eb9c1689af78
parent5bab73d23fed6a58a5a5ba83b79bceb665288422
Configure: fix pkg-config paths for absolute build directories

The generated njs.pc prepends the source directory to an absolute
build directory, producing invalid include and library paths.

Preserve absolute build paths and resolve only relative ones against
the source directory.  This also supports engine builds embedded in
nginx without changing the standalone CLI configuration.
auto/make