summaryrefslogtreecommitdiffstats
path: root/security/nss/gtests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/gtests/Makefile')
-rw-r--r--security/nss/gtests/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/security/nss/gtests/Makefile b/security/nss/gtests/Makefile
index 2b5492506..718850c3a 100644
--- a/security/nss/gtests/Makefile
+++ b/security/nss/gtests/Makefile
@@ -26,6 +26,16 @@ include $(CORE_DEPTH)/coreconf/config.mk
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################
+# Don't build sysinit gtests unless we are also building libnsssysinit.
+# See lib/Makefile for the corresponding rules.
+ifndef MOZILLA_CLIENT
+ifeq ($(OS_ARCH),Linux)
+ifneq ($(NSS_BUILD_UTIL_ONLY),1)
+SYSINIT_GTEST=sysinit_gtest
+endif
+endif
+endif
+
#######################################################################
# (5) Execute "global" rules. (OPTIONAL) #