mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-31 10:41:08 +00:00
test: resolve symlinks in which result for capnp
This commit is contained in:
parent
6f359695c3
commit
51093d6ae1
@ -27,7 +27,7 @@ class IPCInterfaceTest(BitcoinTestFramework):
|
||||
def load_capnp_modules(self):
|
||||
if capnp_bin := shutil.which("capnp"):
|
||||
# Add the system cap'nproto path so include/capnp/c++.capnp can be found.
|
||||
capnp_dir = Path(capnp_bin).parent.parent / "include"
|
||||
capnp_dir = Path(capnp_bin).resolve().parent.parent / "include"
|
||||
else:
|
||||
# If there is no system cap'nproto, the pycapnp module should have its own "bundled"
|
||||
# includes at this location. If pycapnp was installed with bundled capnp,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user