mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
Compare commits
4 commits
41f1280da9
...
fdd1f9798b
Author | SHA1 | Date | |
---|---|---|---|
|
fdd1f9798b | ||
|
c5e44a0435 | ||
|
32d55e28af | ||
|
2083e9cf05 |
2 changed files with 13 additions and 2 deletions
|
@ -32,7 +32,18 @@ endfunction()
|
|||
function(get_target_interface var config target property)
|
||||
get_target_property(result ${target} INTERFACE_${property})
|
||||
if(result)
|
||||
evaluate_generator_expressions(result "${config}")
|
||||
# On systems where pthread functionality is not provided by
|
||||
# the C library implementation, the CMake FindThreads module
|
||||
# sets the Threads::Threads target's compile options to
|
||||
# generator expressions that evaluate to `-pthread` in this
|
||||
# project.
|
||||
# To improve the readability of the configuration summary,
|
||||
# we skip these generator expressions.
|
||||
if(${target} STREQUAL "Threads::Threads" AND ${property} STREQUAL "COMPILE_OPTIONS")
|
||||
set(result -pthread)
|
||||
else()
|
||||
evaluate_generator_expressions(result "${config}")
|
||||
endif()
|
||||
list(JOIN result " " result)
|
||||
else()
|
||||
set(result)
|
||||
|
|
|
@ -87,7 +87,7 @@ class BackwardsCompatibilityTest(BitcoinTestFramework):
|
|||
# 0.21.x and 22.x would both produce bad derivation paths when topping up an inactive hd chain
|
||||
# Make sure that this is being automatically cleaned up by migration
|
||||
node_master = self.nodes[1]
|
||||
node_v22 = self.nodes[self.num_nodes - 5]
|
||||
node_v22 = self.nodes[self.num_nodes - 3]
|
||||
wallet_name = "bad_deriv_path"
|
||||
node_v22.createwallet(wallet_name=wallet_name, descriptors=False)
|
||||
bad_deriv_wallet = node_v22.get_wallet_rpc(wallet_name)
|
||||
|
|
Loading…
Add table
Reference in a new issue