summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-18 23:48:09 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:52 +1000
commit7eab82fce009fd6b1f16a3bd75d872591d92e8b9 (patch)
treeb01ff37fa98b68d8bae5439a20a17ab7eea84a5d /buildtools
parente9fd67f4deaa822bec025f8cc2557b825a05f3ef (diff)
downloadsamba-7eab82fce009fd6b1f16a3bd75d872591d92e8b9.tar.gz
samba-7eab82fce009fd6b1f16a3bd75d872591d92e8b9.tar.bz2
samba-7eab82fce009fd6b1f16a3bd75d872591d92e8b9.zip
build: fixed the install name for python modules
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_python.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/buildtools/wafsamba/samba_python.py b/buildtools/wafsamba/samba_python.py
index e9f554fefd..7536250d0d 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