This PR resolves “ignoring duplicate libraries” linker warnings on macOS:
0[892/895] Linking CXX executable src/test/test_bitcoin
1ld: warning: ignoring duplicate libraries: 'src/secp256k1/lib/libsecp256k1.a'
2<snip>
3[894/895] Linking CXX executable src/test/fuzz/fuzz
4ld: warning: ignoring duplicate libraries: 'libleveldb.a', 'libminisketch.a', 'src/libbitcoin_common.a', 'src/secp256k1/lib/libsecp256k1.a', 'src/univalue/libunivalue.a', 'src/util/libbitcoin_util.a'