]> sourceware.org Git - lvm2.git/commitdiff
Build test run target only for $(TESTING)
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 26 Jan 2012 21:40:36 +0000 (21:40 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 26 Jan 2012 21:40:36 +0000 (21:40 +0000)
Add libraries properly in LDLIBS.

test/unit/Makefile.in

index c90b28111b8271ba15542b5d3df990a30792dfb2..93525a446c00161940e5e32e2939a50c2233303e 100644 (file)
@@ -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
This page took 0.03233 seconds and 5 git commands to generate.