summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/unit/Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/Makefile.in b/test/unit/Makefile.in
index c90b2811..93525a44 100644
--- a/test/unit/Makefile.in
+++ b/test/unit/Makefile.in
@@ -1,4 +1,4 @@
-# Copyright (C) 2011 Red Hat, Inc. All rights reserved.
+# Copyright (C) 2011-2012 Red Hat, Inc. All rights reserved.
#
# This file is part of LVM2.
#
@@ -16,11 +16,11 @@ top_builddir = @top_builddir@
VPATH = $(srcdir)
SOURCES = bitset_t.c matcher_t.c config_t.c run.c
-TARGETS = run
include $(top_builddir)/make.tmpl
ifeq ("$(TESTING)", "yes")
-LDFLAGS += -ldevmapper @CUNIT_LIBS@
+TARGETS = run
+LDLIBS += -ldevmapper @CUNIT_LIBS@
CFLAGS += @CUNIT_CFLAGS@
all: unit