From 46a3588d3fca3a5dd702ce6e9b4a108b884a9cf8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 14 Jan 2011 17:20:01 +1100 Subject: waf: use PYTHONARCHDIR for installing python shared libs Pair-Programmed-With: Andrew Bartlett Autobuild-User: Andrew Tridgell Autobuild-Date: Fri Jan 14 08:19:40 CET 2011 on sn-devel-104 --- source4/scripting/python/modules.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/scripting/python') diff --git a/source4/scripting/python/modules.c b/source4/scripting/python/modules.c index 18253758b8..960239e863 100644 --- a/source4/scripting/python/modules.c +++ b/source4/scripting/python/modules.c @@ -50,6 +50,10 @@ bool py_update_path(const char *bindir) return false; } + if (!PySys_PathPrepend(py_path, dyn_PYTHONARCHDIR)) { + return false; + } + if (!PySys_PathPrepend(py_path, dyn_PYTHONDIR)) { return false; } -- cgit