]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5170] Moved hook library to if HAVE_GTEST
authorFrancis Dupont <fdupont@isc.org>
Sat, 11 Mar 2017 23:48:01 +0000 (00:48 +0100)
committerFrancis Dupont <fdupont@isc.org>
Sat, 11 Mar 2017 23:48:01 +0000 (00:48 +0100)
src/bin/agent/tests/Makefile.am

index f165838b2e6ee089641060d127b277651f0f2dad..19b1359146ae46b6adaf6918b5094d94f9fbe3cb 100644 (file)
@@ -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