diff options
-rw-r--r-- | buildtools/wafsamba/samba_autoconf.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index 297d8d1921..dc4bf8f220 100644 --- a/buildtools/wafsamba/samba_autoconf.py +++ b/buildtools/wafsamba/samba_autoconf.py @@ -330,7 +330,10 @@ def SAMBA_CONFIG_H(conf, path=None): @conf def CONFIG_PATH(conf, name, default): if not name in conf.env: - conf.env[name] = conf.env['PREFIX'] + default + if default[0] == '/': + conf.env[name] = default + else: + conf.env[name] = conf.env['PREFIX'] + default conf.define(name, conf.env[name], quote=True) ############################################################## |