diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-04-19 15:58:37 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-19 16:34:14 +1000 |
commit | b6dff759f7016bb4820fc8f9d660bf565c7caeee (patch) | |
tree | b0875b0fccd54afb12040497d12c26823eaab319 /buildtools/wafsamba/samba_autoconf.py | |
parent | 5040e2a6fbe8b240b1d445e1260bb95203618b75 (diff) | |
download | samba-b6dff759f7016bb4820fc8f9d660bf565c7caeee.tar.gz samba-b6dff759f7016bb4820fc8f9d660bf565c7caeee.tar.bz2 samba-b6dff759f7016bb4820fc8f9d660bf565c7caeee.zip |
build: added --cross-answers support
This allows you to easily cross-compile even without a --cross-execute
emulator
See http://wiki.samba.org/index.php/Waf#cross-compiling for details
Diffstat (limited to 'buildtools/wafsamba/samba_autoconf.py')
-rw-r--r-- | buildtools/wafsamba/samba_autoconf.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index dd7abe2864..fa58e8f249 100644 --- a/buildtools/wafsamba/samba_autoconf.py +++ b/buildtools/wafsamba/samba_autoconf.py @@ -372,7 +372,7 @@ def CHECK_CODE(conf, code, define, cflags = TO_LIST(cflags) cflags.extend(ccflags) - exec_args = conf.SAMBA_CROSS_ARGS() + exec_args = conf.SAMBA_CROSS_ARGS(msg=msg) ret = conf.check(fragment=fragment, execute=execute, @@ -567,6 +567,7 @@ def SAMBA_CONFIG_H(conf, path=None): conf.write_config_header('config.h', top=True) else: conf.write_config_header(path) + conf.SAMBA_CROSS_CHECK_COMPLETE() @conf |