mirror of
https://github.com/samba-team/samba.git
synced 2025-09-18 09:44:19 +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:
committed by
Andrew Bartlett
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')
|
||||
|
Reference in New Issue
Block a user