Skip to content

libbitcoinkernel: Building mingw-w64 dll's broken #25008

@dongcarl

Description

@dongcarl

We're unable to build a dll for libbitcoinkernel right now because of unique problems arising out of the combination of mingw-w64 + winpthread + libtool + dll's

bitcoin/src/Makefile.am

Lines 816 to 822 in 466c616

# TODO: For now, only build a static version of this library with -static.
# There are unresolved problems when building dll's on mingw-w64 and
# attempting to statically embed libstdc++, libpthread, etc.
libbitcoinkernel_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined $(RELDFLAGS) $(PTHREAD_FLAGS)
if TARGET_WINDOWS
libbitcoinkernel_la_LDFLAGS += -static
endif

Various methods have been proposed and we should discuss here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done or Closed or Rethinking

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions