diff options
| author | Aliaksei Karaliou <akaraliou@panasas.com> | 2019-01-23 04:55:58 -0500 |
|---|---|---|
| committer | Andrew Bartlett <abartlet@samba.org> | 2019-02-11 07:43:31 +0100 |
| commit | 724c07fe131d4c0d1a2c11e5a93e8f12b8dc3bd8 (patch) | |
| tree | 9932fc970e98903bd1d034f8ae336204125cf65c /python/wscript | |
| parent | b50f8390eba23b2ec310c495cf67a96b47ba9966 (diff) | |
| download | samba-724c07fe131d4c0d1a2c11e5a93e8f12b8dc3bd8.tar.gz | |
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>
Diffstat (limited to 'python/wscript')
| -rw-r--r-- | python/wscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/wscript b/python/wscript index f0993dfa97a..9012b5077a0 100644 --- a/python/wscript +++ b/python/wscript @@ -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') |
