From 7eab82fce009fd6b1f16a3bd75d872591d92e8b9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 18 Mar 2010 23:48:09 +1100 Subject: [PATCH] build: fixed the install name for python modules --- buildtools/wafsamba/samba_python.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/buildtools/wafsamba/samba_python.py b/buildtools/wafsamba/samba_python.py index e9f554fefd0..7536250d0d6 100644 --- a/buildtools/wafsamba/samba_python.py +++ b/buildtools/wafsamba/samba_python.py @@ -46,9 +46,8 @@ def SAMBA_PYTHON(bld, name, deps += ' ' + public_deps if realname is None: - link_name = 'python/%s.so' % name - else: - link_name = 'python/%s' % realname + realname = '%s.so' % name + link_name = 'python/%s' % realname t = bld( features = 'cc cshlib pyext symlink_lib', @@ -58,6 +57,7 @@ def SAMBA_PYTHON(bld, name, samba_includes = includes, local_include = local_include, samba_deps = TO_LIST(deps), - link_name = link_name + link_name = link_name, + name = name ) Build.BuildContext.SAMBA_PYTHON = SAMBA_PYTHON