Skip to content

Commit 8b8edc2

Browse files
committed
build: Specify native binaries explicitly when building capnp package
From `configure --help`: --with-external-capnp use the system capnp binary (or the one specified with $CAPNP) instead of compiling a new one (useful for cross-compiling)
1 parent a413595 commit 8b8edc2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

depends/packages/capnp.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ $(package)_dependencies=native_$(package)
88

99
define $(package)_set_vars :=
1010
$(package)_config_opts := --with-external-capnp
11+
$(package)_config_opts += CAPNP="$$(native_capnp_prefixbin)/capnp"
12+
$(package)_config_opts += CAPNP_CXX="$$(native_capnp_prefixbin)/capnp-c++"
1113
$(package)_config_opts_android := --disable-shared
1214
endef
1315

0 commit comments

Comments
 (0)