The Samba-Bugzilla – Attachment 6196 Details for
Bug 7905
Pytalloc installs talloc.so into the wrong directory
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to install python bindings into an arch-specific location
0001-Install-python-bindings-in-the-arch-specific-locatio.patch (text/plain), 1.24 KB, created by
Stephen Gallagher
on 2011-01-12 14:10:21 UTC
(
hide
)
Description:
Patch to install python bindings into an arch-specific location
Filename:
MIME Type:
Creator:
Stephen Gallagher
Created:
2011-01-12 14:10:21 UTC
Size:
1.24 KB
patch
obsolete
>From feff3aad50304450248aa66aed59d09439699234 Mon Sep 17 00:00:00 2001 >From: Stephen Gallagher <sgallagh@redhat.com> >Date: Wed, 12 Jan 2011 15:01:52 -0500 >Subject: [PATCH] Install python bindings in the arch-specific location > >--- > buildtools/wafsamba/samba_python.py | 5 ++++- > 1 files changed, 4 insertions(+), 1 deletions(-) > >diff --git a/buildtools/wafsamba/samba_python.py b/buildtools/wafsamba/samba_python.py >index a663b1910d063336c1340142ae8855d7e176ecdb..9b72f3fd112288a022a2de0701594814616f202f 100644 >--- a/buildtools/wafsamba/samba_python.py >+++ b/buildtools/wafsamba/samba_python.py >@@ -51,6 +51,9 @@ def SAMBA_PYTHON(bld, name, > > link_name = 'python/%s' % realname > >+ from distutils.sysconfig import get_python_lib >+ arch_install_dir = get_python_lib(1) >+ > bld.SAMBA_LIBRARY(name, > source=source, > deps=deps, >@@ -63,7 +66,7 @@ def SAMBA_PYTHON(bld, name, > link_name=link_name, > pyembed=True, > target_type='PYTHON', >- install_path='${PYTHONDIR}', >+ install_path=arch_install_dir, > enabled=enabled) > > Build.BuildContext.SAMBA_PYTHON = SAMBA_PYTHON >-- >1.7.3.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7905
: 6196