From c4ac14877141b91aeca2fcf59744b0674d91e238 Mon Sep 17 00:00:00 2001 From: Mathieu Parent Date: Thu, 24 Sep 2015 04:39:17 +0200 Subject: [PATCH] CTDB: Use socket_wrapper only with selftest --- ctdb/wscript | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ctdb/wscript b/ctdb/wscript index 188295d..15972e3 100755 --- a/ctdb/wscript +++ b/ctdb/wscript @@ -107,7 +107,8 @@ def configure(conf): conf.RECURSE('lib/talloc') conf.RECURSE('lib/tevent') conf.RECURSE('lib/tdb') - conf.RECURSE('lib/socket_wrapper') + if conf.CONFIG_GET('ENABLE_SELFTEST'): + conf.RECURSE('lib/socket_wrapper') conf.CHECK_HEADERS('sched.h') conf.CHECK_HEADERS('procinfo.h') @@ -269,7 +270,8 @@ def build(bld): bld.RECURSE('lib/talloc') bld.RECURSE('lib/tevent') bld.RECURSE('lib/tdb') - bld.RECURSE('lib/socket_wrapper') + if bld.CONFIG_GET('SOCKET_WRAPPER'): + bld.RECURSE('lib/socket_wrapper') if bld.env.standalone_ctdb: # In a combined build is implemented, CTDB will wanted to