summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')