Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
google-benchmark: build as a static library
This partially fixes the Windows build, which was broken because the upstream package does not use Visual Studio specific code annotations like __dllspec(dllexport) or any other mechanism for exporting symbols. There are two other reasons to fix it this way: Upstream uses CMake's WINDOWS_EXPORT_ALL_SYMBOLS feature to deal with the issue for DLL builds. Meson does not have a similar feature (see mesonbuild/meson#2132). Google typically links benchmarks statically, so linking statically even on non-Windows builds is closer to the way upstream typically uses the library.
- Loading branch information