From d830661f222d1791a46bdd858817fa0d637cb1d3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 31 Mar 2010 18:05:57 +1100 Subject: s4-waf: remove PYTHONDIR from config.h prevent unnecessary rebuilds --- source4/wscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/wscript') diff --git a/source4/wscript b/source4/wscript index c9ef96c77d..b0e2368547 100644 --- a/source4/wscript +++ b/source4/wscript @@ -73,6 +73,9 @@ def configure(conf): conf.sub_config('lib/smbreadline') conf.sub_config('../pidl') + # we don't want PYTHONDIR in config.h, as otherwise changing + # --prefix causes a complete rebuild + del(conf.env.defines['PYTHONDIR']) conf.SAMBA_CONFIG_H('include/config.h') -- cgit