You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmake: don't set default visibility for static builds
define SECP256K1_CMAKE_SHARED_BUILD for all CMake shared lib builds, not just
Windows. This allows us to only set default symbol visibility for shared lib builds.
For static libs built with CMake, or Autotools builds for Windows, static
builds will prefer to hide symbols by default. Autotools does not have the
ability to set a define for non-Windows shared builds, so the best we can do
there is guess. SECP256K1_NO_EXPORT_SYMBOLS can be defined as an escape-hatch
in case a non-Windows CMake builder wants default visibility.
0 commit comments