From 03ec7bf65a1f1dd23f20fcb355f2740e58ec07ca Mon Sep 17 00:00:00 2001 From: Alexander Afanasyev Date: Thu, 4 Oct 2012 10:21:31 -0700 Subject: [PATCH] Solving bug in wscript --- wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wscript b/wscript index ddba0d8..a4cea8b 100644 --- a/wscript +++ b/wscript @@ -177,7 +177,8 @@ def build (bld): if bld.get_define ("HAVE_LOG4CXX"): libsync.use += ' LOG4CXX' - unittests.use += ' LOG4CXX' + if bld.get_define("_TEST"): + unittests.use += ' LOG4CXX' headers = bld.path.ant_glob(['include/*.h']) headers.extend (bld.path.get_bld().ant_glob(['model/sync-state.pb.h']))