summaryrefslogtreecommitdiff
path: root/lib/replace/wafsamba.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/replace/wafsamba.py')
-rw-r--r--lib/replace/wafsamba.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/replace/wafsamba.py b/lib/replace/wafsamba.py
index ffa013de22..e1fae62119 100644
--- a/lib/replace/wafsamba.py
+++ b/lib/replace/wafsamba.py
@@ -51,9 +51,9 @@ def CHECK_FUNCS_IN(conf, list, library):
#################################################
# write out config.h in the right directory
@conf
-def SAMBA_CONFIG_H(conf):
+def SAMBA_CONFIG_H(conf, path='config.h'):
if os.path.normpath(conf.curdir) == os.path.normpath(os.environ.get('PWD')):
- conf.write_config_header('config.h', top=True)
+ conf.write_config_header(path, top=True)
##############################################################