mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-13 13:22:38 -03:00
1392e8e2d8
This was used to, in effect, manually emulate --start-group/--end-group. However, we can just order the libraries correctly and avoid specifying libraries multiple times on the link line. Note: lld (not ld.bfd) knows how to resolve out-of-order references and doesn't seem to need the reodering
20 lines
648 B
Text
20 lines
648 B
Text
# Copyright (c) 2013-2020 The Bitcoin Core developers
|
|
# Distributed under the MIT software license, see the accompanying
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
LIBTEST_FUZZ=libtest_fuzz.a
|
|
|
|
EXTRA_LIBRARIES += \
|
|
$(LIBTEST_FUZZ)
|
|
|
|
TEST_FUZZ_H = \
|
|
test/fuzz/fuzz.h \
|
|
test/fuzz/FuzzedDataProvider.h \
|
|
test/fuzz/util.h
|
|
|
|
libtest_fuzz_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(MINIUPNPC_CPPFLAGS) $(NATPMP_CPPFLAGS) $(EVENT_CFLAGS) $(EVENT_PTHREADS_CFLAGS)
|
|
libtest_fuzz_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
libtest_fuzz_a_SOURCES = \
|
|
test/fuzz/fuzz.cpp \
|
|
test/fuzz/util.cpp \
|
|
$(TEST_FUZZ_H)
|