mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
build: python libs need to be built shared, regardless of --disable-shared
we don't have a way to load them otherwise
This commit is contained in:
parent
178b0d178d
commit
d39b44c989
@ -100,7 +100,7 @@ def SAMBA_LIBRARY(bld, libname, source,
|
||||
SET_TARGET_TYPE(bld, libname, 'EMPTY')
|
||||
return
|
||||
|
||||
if BUILTIN_LIBRARY(bld, libname):
|
||||
if target_type != 'PYTHON' and BUILTIN_LIBRARY(bld, libname):
|
||||
obj_target = libname
|
||||
else:
|
||||
obj_target = libname + '.objlist'
|
||||
@ -122,7 +122,7 @@ def SAMBA_LIBRARY(bld, libname, source,
|
||||
needs_python = needs_python,
|
||||
local_include = local_include)
|
||||
|
||||
if BUILTIN_LIBRARY(bld, libname):
|
||||
if libname == obj_target:
|
||||
return
|
||||
|
||||
if not SET_TARGET_TYPE(bld, libname, target_type):
|
||||
|
Loading…
Reference in New Issue
Block a user