Skip to contentSkip to conversation

LVM2/test/unit Makefile.in

PATCH [email protected] 1 participant 1 message Jan 26, 2012

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2012-01-26 21:40:36

Modified files:
test/unit : Makefile.in

Log message:

	Build test run target only for $(TESTING)
	
	Add libraries properly in LDLIBS.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/unit/Makefile.in.diff?cvsroot=lvm2&r1=1.5&r2=1.6

test/unit/Makefile.in +3 -3
@@ -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 @@
 
 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