aboutsummaryrefslogtreecommitdiff
path: root/depends/funcs.mk
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-04-30 23:12:09 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-05-01 10:41:32 +0200
commitc0f5cc14ef9fae2b2de4222ee061729629ebb6b4 (patch)
tree82e08dcb712b8de0aeaf78ef17329ca6eb42c3f7 /depends/funcs.mk
parent5d53cf38784df9ad9ed10306bf3fba3002fd9244 (diff)
downloadbitcoin-c0f5cc14ef9fae2b2de4222ee061729629ebb6b4.tar.xz
build: Fix `libmultiprocess` cross-compiling to Linux hosts
To successfully call the `capnp_generate_cpp()` function, the `libmultiprocess` build system must be provided with paths to the native `capnp` and `capnpc-c++` tools.
Diffstat (limited to 'depends/funcs.mk')
-rw-r--r--depends/funcs.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/depends/funcs.mk b/depends/funcs.mk
index 75fa1ed43f..a00f380236 100644
--- a/depends/funcs.mk
+++ b/depends/funcs.mk
@@ -175,7 +175,7 @@ $(1)_cmake=env CC="$$($(1)_cc)" \
CXX="$$($(1)_cxx)" \
CXXFLAGS="$$($(1)_cppflags) $$($(1)_cxxflags)" \
LDFLAGS="$$($(1)_ldflags)" \
- cmake -DCMAKE_INSTALL_PREFIX:PATH="$$($($(1)_type)_prefix)"
+ cmake -DCMAKE_INSTALL_PREFIX:PATH="$$($($(1)_type)_prefix)" $$($(1)_cmake_opts)
ifeq ($($(1)_type),build)
$(1)_cmake += -DCMAKE_INSTALL_RPATH:PATH="$$($($(1)_type)_prefix)/lib"
else