waf: use PYTHONARCHDIR for installing python shared libs
[samba.git] / source4 / wscript
index 8c1bc71f9e10522e71f8fac9fc12871586617999..3fdeb3c14e438c11b24d84bff647fbdb4b5e3c8c 100644 (file)
@@ -122,6 +122,8 @@ def configure(conf):
     # we don't want PYTHONDIR in config.h, as otherwise changing
     # --prefix causes a complete rebuild
     del(conf.env.defines['PYTHONDIR'])
+    del(conf.env.defines['PYTHONARCHDIR'])
+
     conf.SAMBA_CONFIG_H('include/config.h')