Skip to content

Static linking of libcurl is not possible #2

@19wintersp

Description

@19wintersp

Currently, libcurl is not linked properly (statically), and only a reference to the DLL is created. This is an issue since the libcurl version used by EuroScope is typically used instead of any system install, and EuroScope is a major version behind. The runtime version behind behind is not an issue in general, however ought to be addressed for stability. Additionally, the correct version allows use of CURLOPT_CAINFO_BLOB, which provides one method of addressing #1.

It is not possible to link against the libcurl provided by the cURL project with the current build system, since they use different environments (MinGW-w64 vs. MSVC via xwin). At present, it seems there are two likely remedies to this issue; either:

  1. build libcurl from source using our own build system, which would require use of CMake or somehow getting autoconf to properly use our cross-compiling setup; or
  2. convert our own build system to use the w64 target instead of MSVC, and retire it and xwin.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions