From 7ed65d2e126161f269ea823d2fa02e79b779fc63 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 17 Mar 2010 21:53:29 +1100 Subject: build: result of hack session with ita --- buildtools/wafsamba/samba_autoconf.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'buildtools/wafsamba/samba_autoconf.py') diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index e6f5985e15..3d18d2e250 100644 --- a/buildtools/wafsamba/samba_autoconf.py +++ b/buildtools/wafsamba/samba_autoconf.py @@ -124,6 +124,14 @@ def ADD_CFLAGS(conf, flags): conf.env['EXTRA_CFLAGS'] = [] conf.env['EXTRA_CFLAGS'].extend(flags.split()) +############################################################## +# add some extra include directories to all builds +@conf +def ADD_EXTRA_INCLUDES(conf, includes): + if not 'EXTRA_INCLUDES' in conf.env: + conf.env['EXTRA_INCLUDES'] = [] + conf.env['EXTRA_INCLUDES'].extend(includes.split()) + ############################################################## # work out the current flags. local flags are added first -- cgit