Skip to content

Commit

Permalink
build: Remove incorrect pyembed=True from samba-policy
Browse files Browse the repository at this point in the history
This is a normal C library, used by python but does not use
any python itself (nor by dependencies any longer).

Signed-off-by: Andrew Bartlett <[email protected]>
Reviewed-by: Alexander Bokovoy <[email protected]>
  • Loading branch information
abartlet committed Jun 5, 2024
1 parent 829b52f commit d11b281
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions source4/lib/policy/wscript_build
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,15 @@


pytalloc_util = bld.pyembed_libname('pytalloc-util')
samba_policy = bld.pyembed_libname('samba-policy')
bld.SAMBA_LIBRARY(samba_policy,
bld.SAMBA_LIBRARY('samba-policy',
source='gp_ldap.c gp_filesys.c gp_manage.c gp_ini.c',
pc_files='samba-policy.pc',
public_deps='ldb samba-net',
vnum='0.0.1',
pyembed=True,
public_headers='policy.h',
enabled=bld.PYTHON_BUILD_IS_ENABLED()
)
public_headers='policy.h')
bld.SAMBA_PYTHON(
'py_policy',
source='pypolicy.c',
public_deps='%s %s' % (samba_policy, pytalloc_util),
public_deps=f'samba-policy {pytalloc_util}',
realname='samba/policy.so'
)

0 comments on commit d11b281

Please sign in to comment.