Browse Source

[master] Moved hook library to if HAVE_GTEST

Francis Dupont 8 years ago
parent
commit
bdf3bae88c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/bin/agent/tests/Makefile.am

+ 2 - 2
src/bin/agent/tests/Makefile.am

@@ -8,8 +8,6 @@ noinst_SCRIPTS = ca_process_tests.sh
 EXTRA_DIST  = ca_process_tests.sh.in
 EXTRA_DIST += testdata/get_config.json
 
-noinst_LTLIBRARIES = libbasic.la
-
 # test using command-line arguments, so use check-local target instead of TESTS
 check-local:
 	for shtest in $(SHTESTS) ; do \
@@ -43,6 +41,8 @@ TESTS_ENVIRONMENT = \
 TESTS =
 if HAVE_GTEST
 
+noinst_LTLIBRARIES = libbasic.la
+
 TESTS += ca_unittests
 
 ca_unittests_SOURCES  = ca_cfg_mgr_unittests.cc