git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d8d759
)
build: install build python modules correctly
author
Andrew Tridgell
<tridge@samba.org>
Sat, 27 Mar 2010 03:50:43 +0000
(14:50 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 6 Apr 2010 10:27:09 +0000
(20:27 +1000)
buildtools/wafsamba/samba_python.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/samba_python.py
b/buildtools/wafsamba/samba_python.py
index 9a887a80a55a8c06830ec588114928b7af83cdc3..bb8939caf9982da1beac1585366748dc30682b14 100644
(file)
--- 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