summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-10-07 12:31:05 +0200
committerThomas Haller <thaller@redhat.com>2016-10-11 11:37:46 +0200
commit33d05f5295b7165c96343ef59102b657453e7f90 (patch)
treee42c34b7a006b464bf8bfae3a3dc1c38e5d222f5
parent9ff1fa4ae1bb1d128058e33691cc215633a84f8c (diff)
downloadNetworkManager-33d05f5295b7165c96343ef59102b657453e7f90.tar.gz
keyfile/build: set LDFLAGS for buiding keyfile tests
-rw-r--r--src/settings/plugins/keyfile/tests/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/settings/plugins/keyfile/tests/Makefile.am b/src/settings/plugins/keyfile/tests/Makefile.am
index d7c48b1921..c0b67d1595 100644
--- a/src/settings/plugins/keyfile/tests/Makefile.am
+++ b/src/settings/plugins/keyfile/tests/Makefile.am
@@ -20,14 +20,17 @@ AM_CPPFLAGS = \
-DTEST_SCRATCH_DIR=\"$(abs_builddir)/keyfiles\" \
-DNMCONFDIR=\"nonexistent\"
+AM_LDFLAGS = \
+ $(GLIB_LIBS) \
+ $(CODE_COVERAGE_LDFLAGS)
+
noinst_PROGRAMS = test-keyfile
test_keyfile_SOURCES = \
test-keyfile.c
test_keyfile_LDADD = \
- $(top_builddir)/src/libNetworkManager.la \
- $(CODE_COVERAGE_LDFLAGS)
+ $(top_builddir)/src/libNetworkManager.la
@VALGRIND_RULES@
TESTS = test-keyfile