From fed3d93b85bd351c467545761ac06c9aa2c2d36f Mon Sep 17 00:00:00 2001 From: Anatoliy Atanasov Date: Tue, 29 Jun 2010 17:43:36 +0300 Subject: [PATCH] modify waf build to link google perf tools --- source4/wscript | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/source4/wscript b/source4/wscript index e973d6f..4f01a8e 100644 --- a/source4/wscript +++ b/source4/wscript @@ -107,7 +107,9 @@ def configure(conf): # --prefix causes a complete rebuild del(conf.env.defines['PYTHONDIR']) conf.SAMBA_CONFIG_H('include/config.h') - + conf.CHECK_LIB("tcmalloc") + conf.CHECK_LIB("profiler") + conf.env['LIB'] = (['tcmalloc', 'profiler']) def etags(ctx): '''build TAGS file using etags''' -- 1.6.3.3