summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/samba_python.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_python.py b/buildtools/wafsamba/samba_python.py
index 9a887a80a5..bb8939caf9 100644
--- a/buildtools/wafsamba/samba_python.py
+++ b/buildtools/wafsamba/samba_python.py
@@ -61,6 +61,14 @@ def SAMBA_PYTHON(bld, name,
local_include = local_include,
samba_deps = TO_LIST(deps),
link_name = link_name,
- name = name
+ name = name,
+ install_path = None
)
+
+ destdir='${PYTHONDIR}'
+ dname=os.path.dirname(realname)
+ if dname:
+ destdir += '/' + dname
+ bld.INSTALL_FILES(destdir, name + '.so', destname=os.path.basename(realname))
+
Build.BuildContext.SAMBA_PYTHON = SAMBA_PYTHON