mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-24 18:23:26 -03:00
depends: build libmultiprocess with position independant code
This matches what we do with all other dependencies, see `--with-pic`, and fixes build failures, like #26943.
This commit is contained in:
parent
506634d79d
commit
bde8d63b17
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ endif
|
|||
# directory, which might be "lib64" or something else, not "lib", on multiarch systems.
|
||||
define $(package)_set_vars :=
|
||||
$(package)_config_opts += -DCMAKE_INSTALL_LIBDIR=lib/
|
||||
$(package)_config_opts += -DCMAKE_POSITION_INDEPENDENT_CODE=ON
|
||||
ifneq ($(host),$(build))
|
||||
$(package)_config_opts := -DCAPNP_EXECUTABLE="$$(native_capnp_prefixbin)/capnp"
|
||||
$(package)_config_opts += -DCAPNPC_CXX_EXECUTABLE="$$(native_capnp_prefixbin)/capnpc-c++"
|
||||
|
|
Loading…
Add table
Reference in a new issue