Add alwayslink = True to //:gtest_main

Fixes #4868
This commit is contained in:
Philipp Stephani 2025-11-04 19:33:13 +01:00
parent ae2b601bea
commit d54d30fecb

View File

@ -187,6 +187,7 @@ cc_library(
"//conditions:default": [], "//conditions:default": [],
}), }),
deps = [":gtest"], deps = [":gtest"],
alwayslink = True,
) )
# The following rules build samples of how to use gTest. # The following rules build samples of how to use gTest.