Skip to content

Commit

Permalink
depends: build libmultiprocess with position independant code
Browse files Browse the repository at this point in the history
This matches what we do with all other dependencies, see `--with-pic`,
and fixes build failures, like #26943.
  • Loading branch information
fanquake committed Nov 10, 2023
1 parent 156366f commit c3a962b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions depends/packages/libmultiprocess.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ endif

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++"
Expand Down

0 comments on commit c3a962b

Please sign in to comment.