1
0
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:
Andrew Tridgell 2010-03-30 22:28:30 +11:00
parent 178b0d178d
commit d39b44c989

View File

@ -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):