Skip to content

Statically link libpsl build with mingw-w64 13 break interop with previous mingw-w64 versions #256

@JackCarterSmith

Description

@JackCarterSmith

This issue follow the one from libcurl (curl/curl#19516).
I tried to build a test program with libcurl, which depend on libpsl, that I then tried to add statically.
That failed with an undefined reference to 'stat64'.
The libpsl.a have been build with MinGW-w64 13 and the test program with MinGW-w64 12.

First and foremost, I'm not an expert with how libpsl use the stat element.
MinGW-w64 13 seem to break interop with previous MinGW versions which use stat() function.

Again, I don't know what should be the best way to handle/fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions