aboutsummaryrefslogtreecommitdiffstats
path: root/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD.bazel')
-rw-r--r--BUILD.bazel5
1 files changed, 5 insertions, 0 deletions
diff --git a/BUILD.bazel b/BUILD.bazel
index a000471d..8d2f6bdb 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -135,6 +135,10 @@ cc_library(
"googletest/samples/sample3-inl.h",
"googletest/samples/sample4.h",
],
+ features = select({
+ ":windows": ["windows_export_all_symbols"],
+ "//conditions:default": [],
+ })
)
cc_test(
@@ -157,6 +161,7 @@ cc_test(
"gtest_sample_lib",
":gtest_main",
],
+ linkstatic = 0,
)
cc_test(