merge bitcoin#21226: Fix fuzz binary compilation under windows

This commit is contained in:
Kittywhiskers Van Gogh 2023-08-23 15:13:50 +05:30 committed by PastaPastaPasta
parent 231a914a55
commit 3b589cb2e4
2 changed files with 2 additions and 2 deletions

View File

@ -13,5 +13,5 @@ export DPKG_ADD_ARCH="i386"
export RUN_INTEGRATION_TESTS=false
export RUN_SECURITY_TESTS="false"
export GOAL="deploy"
export BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --disable-fuzz-binary --disable-miner"
export BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --disable-miner"
export DIRECT_WINE_EXEC_TESTS=true

View File

@ -72,7 +72,7 @@ extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv)
}
#if defined(PROVIDE_MAIN_FUNCTION)
__attribute__((weak)) int main(int argc, char** argv)
int main(int argc, char** argv)
{
initialize();
static const auto& test_one_input = *Assert(g_test_one_input);