diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-01-14 17:20:01 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-01-14 08:19:39 +0100 |
commit | 46a3588d3fca3a5dd702ce6e9b4a108b884a9cf8 (patch) | |
tree | c4209afbd60fad2d4c9f4d0f046541ce5e406484 /source4/scripting | |
parent | 0346b5b93c5215ecb8a56c664d99fc700ca23bfb (diff) | |
download | samba-46a3588d3fca3a5dd702ce6e9b4a108b884a9cf8.tar.gz samba-46a3588d3fca3a5dd702ce6e9b4a108b884a9cf8.tar.bz2 samba-46a3588d3fca3a5dd702ce6e9b4a108b884a9cf8.zip |
waf: use PYTHONARCHDIR for installing python shared libs
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Jan 14 08:19:40 CET 2011 on sn-devel-104
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/python/modules.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |