summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/wscript_build4
-rwxr-xr-xsource4/librpc/wscript_build2
-rw-r--r--source4/scripting/python/wscript_build2
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/wscript_build b/lib/wscript_build
index bc9d5ed5f1..9ce832a2fd 100644
--- a/lib/wscript_build
+++ b/lib/wscript_build
@@ -17,14 +17,14 @@ for module, package in external_libs.items():
list.append(package)
for e in list:
- bld.INSTALL_WILDCARD('${PYTHONDIR}/samba/external', e + '/**/*', flat=False,
+ bld.INSTALL_WILDCARD('${PYTHONARCHDIR}/samba/external', e + '/**/*', flat=False,
exclude='*.pyc', trim_path=os.path.dirname(e))
bld.SAMBA_GENERATOR('external_init_py',
rule='touch ${TGT}',
target='empty_file')
-bld.INSTALL_FILES('${PYTHONDIR}/samba/external', 'empty_file', destname='__init__.py')
+bld.INSTALL_FILES('${PYTHONARCHDIR}/samba/external', 'empty_file', destname='__init__.py')
# a grouping library for event and socket related subsystems
bld.SAMBA_LIBRARY('samba-sockets',
diff --git a/source4/librpc/wscript_build b/source4/librpc/wscript_build
index 4e2b6728cd..d0159bb37a 100755
--- a/source4/librpc/wscript_build
+++ b/source4/librpc/wscript_build
@@ -360,4 +360,4 @@ bld.SAMBA_SCRIPT('python_dcerpc_init',
installdir='python/samba/dcerpc',
installname='__init__.py')
-bld.INSTALL_FILES('${PYTHONDIR}/samba/dcerpc', 'rpc/dcerpc.py', destname='__init__.py')
+bld.INSTALL_FILES('${PYTHONARCHDIR}/samba/dcerpc', 'rpc/dcerpc.py', destname='__init__.py')
diff --git a/source4/scripting/python/wscript_build b/source4/scripting/python/wscript_build
index 227c63345d..540f3b7bb7 100644
--- a/source4/scripting/python/wscript_build
+++ b/source4/scripting/python/wscript_build
@@ -36,4 +36,4 @@ bld.SAMBA_SCRIPT('samba_python',
pattern='samba/**/*.py',
installdir='python')
-bld.INSTALL_WILDCARD('${PYTHONDIR}', 'samba/**/*.py', flat=False)
+bld.INSTALL_WILDCARD('${PYTHONARCHDIR}', 'samba/**/*.py', flat=False)