From 5da7c0b3e34626ca57d1f0773db61e7d8351d8c7 Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Tue, 21 Feb 2023 21:28:53 +0000 Subject: [PATCH] build: allow libitcoinkernel dll builds now that exports are fixed Symbol visibility issues are not actually fixed yet because we have not yet defined an api and exported symbols, but everything is now in place for that. --- src/Makefile.am | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 3e340a5b992..72e7db53348 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -879,15 +879,6 @@ libbitcoinkernel_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(builddir)/obj -I$(srcdir)/secp # to export from the library. libbitcoinkernel_la_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS) -fvisibility=default -# TODO: For now, Specify -static in both CXXFLAGS and LDFLAGS when building for -# windows targets so libtool will only build a static version of this -# library. There are unresolved problems when building dll's for mingw-w64 -# and attempting to statically embed libstdc++, libpthread, etc. -if TARGET_WINDOWS -libbitcoinkernel_la_LDFLAGS += -static -libbitcoinkernel_la_CXXFLAGS += -static -endif - # TODO: libbitcoinkernel is a work in progress consensus engine library, as more # and more modules are decoupled from the consensus engine, this list will # shrink to only those which are absolutely necessary.