summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-31 18:05:57 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:21 +1000
commitd830661f222d1791a46bdd858817fa0d637cb1d3 (patch)
tree99af3c7bb4f84fec2dd648950775dd40a4e752c4
parentaceb14f611e567a53ce582f4f25f08159787b3d4 (diff)
downloadsamba-d830661f222d1791a46bdd858817fa0d637cb1d3.tar.gz
samba-d830661f222d1791a46bdd858817fa0d637cb1d3.tar.bz2
samba-d830661f222d1791a46bdd858817fa0d637cb1d3.zip
s4-waf: remove PYTHONDIR from config.h
prevent unnecessary rebuilds
-rw-r--r--source4/wscript3
1 files changed, 3 insertions, 0 deletions
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')