mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
build: fixed the install name for python modules
This commit is contained in:
parent
e9fd67f4de
commit
7eab82fce0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user