mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
build: Don't generate kerberos_implementation.py if building without python
It is unnecessary to generate kerberos_implementation.py when python is disabled. Signed-off-by: Aliaksei Karaliou <akaraliou@panasas.com> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
b50f8390eb
commit
724c07fe13
@ -3,6 +3,9 @@
|
||||
import os
|
||||
|
||||
def configure(conf):
|
||||
if conf.env.disable_python:
|
||||
return
|
||||
|
||||
kerberos_py = conf.srcnode.abspath() + "/python/samba/provision/kerberos_implementation.py"
|
||||
|
||||
f = open(kerberos_py, 'w')
|
||||
|
Loading…
Reference in New Issue
Block a user