diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-06-09 15:49:54 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-06-09 15:56:52 +0200 |
commit | 8b8edc25c13a3e613770bf38b21a2556192e6315 (patch) | |
tree | d33c9809852b233dc6831a345bca4519b2a33196 /depends | |
parent | a413595c37f51557f9506e0a279cd80fc9a6fb36 (diff) |
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)
Diffstat (limited to 'depends')
-rw-r--r-- | depends/packages/capnp.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/depends/packages/capnp.mk b/depends/packages/capnp.mk index cd9b91cf7c..f4778c1ecd 100644 --- a/depends/packages/capnp.mk +++ b/depends/packages/capnp.mk @@ -8,6 +8,8 @@ $(package)_dependencies=native_$(package) define $(package)_set_vars := $(package)_config_opts := --with-external-capnp +$(package)_config_opts += CAPNP="$$(native_capnp_prefixbin)/capnp" +$(package)_config_opts += CAPNP_CXX="$$(native_capnp_prefixbin)/capnp-c++" $(package)_config_opts_android := --disable-shared endef |