From d830661f222d1791a46bdd858817fa0d637cb1d3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 31 Mar 2010 18:05:57 +1100 Subject: [PATCH] s4-waf: remove PYTHONDIR from config.h prevent unnecessary rebuilds --- source4/wscript | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source4/wscript b/source4/wscript index c9ef96c77d5..b0e23685477 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') -- 2.34.1