SEAL icon indicating copy to clipboard operation
SEAL copied to clipboard

Windows static pr

Open rickwebiii opened this issue 3 years ago • 0 comments

This PR might be a bit controversial

This PR does the following:

  • Removes .NET SDK dependency by removing <CorError.h> dependency and just #defineing COR_E_IO, and COR_E_INVALIDOPERATION to whatever the values are on Linux. Philosophically, the C bindings shouldn't depend on .NET because you might not be building for C# (i.e. I'm building Rust bindings).
  • Enables building SEAL_C with static linking on Windows by removing dllimport/export when building with SEAL_BUILD_STATIC_SEAL_C=ON

rickwebiii avatar Feb 28 '22 23:02 rickwebiii