If secp256k1 is locally installed on macOS, during Bitcoin Core building a compiler looks for /usr/local/include/secp256k1.h instead of secp256k1.h in the source tree (#20351).
Fix #20351.
If secp256k1 is locally installed on macOS, during Bitcoin Core building a compiler looks for /usr/local/include/secp256k1.h instead of secp256k1.h in the source tree (#20351).
Fix #20351.
-BEGIN VERIFY SCRIPT-
sed -i 's|#include <secp256k1|#include <secp256k1/include/secp256k1|' src/key.cpp src/pubkey.cpp src/test/fuzz/secp256k1*
sed -i '/BITCOIN_INCLUDES += -I$(srcdir)\/secp256k1\/include/d' src/Makefile.am
-END VERIFY SCRIPT-
<!--9cd9c72976c961c55c7acef8f6ba82cd-->
Concept ACK
<!--a722867cd34abeea1fadc8d60700f111-->
Concept NACK. This is the wrong way to fix this.
After upgrading Big Sur 11.0.1 from Beta 20B28 to 20B29, I'm not able to reproduce the initial buggy behavior. Also I cannot reproduce it on Catalina 10.15.7 (19H15).
Closing.