mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 02:33:24 -03:00
build: Fix Boost.Process detection on macOS arm64
Could be tested as follows: ``` % brew install boost@1.76 % ./autogen.sh % ./configure --with-boost='/opt/homebrew/opt/boost@1.76' ```
This commit is contained in:
parent
05957a888d
commit
1d4157a42b
1 changed files with 3 additions and 0 deletions
|
@ -1446,6 +1446,8 @@ if test "$use_external_signer" != "no"; then
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
AC_MSG_CHECKING([whether Boost.Process can be used])
|
AC_MSG_CHECKING([whether Boost.Process can be used])
|
||||||
|
TEMP_CPPFLAGS="$CPPFLAGS"
|
||||||
|
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
|
||||||
TEMP_LDFLAGS="$LDFLAGS"
|
TEMP_LDFLAGS="$LDFLAGS"
|
||||||
dnl Boost 1.73 and older require the following workaround.
|
dnl Boost 1.73 and older require the following workaround.
|
||||||
LDFLAGS="$LDFLAGS $PTHREAD_CFLAGS"
|
LDFLAGS="$LDFLAGS $PTHREAD_CFLAGS"
|
||||||
|
@ -1453,6 +1455,7 @@ if test "$use_external_signer" != "no"; then
|
||||||
[have_boost_process="yes"],
|
[have_boost_process="yes"],
|
||||||
[have_boost_process="no"])
|
[have_boost_process="no"])
|
||||||
LDFLAGS="$TEMP_LDFLAGS"
|
LDFLAGS="$TEMP_LDFLAGS"
|
||||||
|
CPPFLAGS="$TEMP_CPPFLAGS"
|
||||||
AC_MSG_RESULT([$have_boost_process])
|
AC_MSG_RESULT([$have_boost_process])
|
||||||
if test "$have_boost_process" = "yes"; then
|
if test "$have_boost_process" = "yes"; then
|
||||||
use_external_signer="yes"
|
use_external_signer="yes"
|
||||||
|
|
Loading…
Add table
Reference in a new issue