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.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/replace/wafsamba.py b/lib/replace/wafsamba.py
index f0f4910d15..9ec905d316 100644
--- a/lib/replace/wafsamba.py
+++ b/lib/replace/wafsamba.py
@@ -55,6 +55,15 @@ def SAMBA_CONFIG_H(conf):
conf.write_config_header('config.h')
+##############################################################
+# setup a configurable path
+@conf
+def CONFIG_PATH(conf, name, default):
+ if not name in conf.env:
+ conf.env[name] = conf.env['PREFIX'] + default
+ conf.define(name, conf.env[name], quote=True)
+
+
################################################################
# magic rpath handling
#