diff options
Diffstat (limited to 'source4/dynconfig/wscript')
-rw-r--r-- | source4/dynconfig/wscript | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/dynconfig/wscript b/source4/dynconfig/wscript index e614624d70..d975698ddf 100644 --- a/source4/dynconfig/wscript +++ b/source4/dynconfig/wscript @@ -116,10 +116,12 @@ def configure(conf): sys.exit(1) -def dynconfig_cflags(bld): +def dynconfig_cflags(bld, list=None): '''work out the extra CFLAGS for dynconfig.c''' cflags = [] for f in dyn_cflags.keys(): + if list and not f in list: + continue if not Options.is_install and f == 'MODULESDIR': # we want binaries run from the source dir to use the current # modules, not the installed ones |