diff options
Diffstat (limited to 'buildtools/wafsamba/samba_pidl.py')
-rw-r--r-- | buildtools/wafsamba/samba_pidl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_pidl.py b/buildtools/wafsamba/samba_pidl.py index 97c1deb7748..2393c72c692 100644 --- a/buildtools/wafsamba/samba_pidl.py +++ b/buildtools/wafsamba/samba_pidl.py @@ -59,7 +59,7 @@ def SAMBA_PIDL(bld, pname, source, # the cd .. is needed because pidl currently is sensitive to the directory it is run in cpp = "" cc = "" - if bld.CONFIG_SET("CPP"): + if bld.CONFIG_SET("CPP") and bld.CONFIG_GET("CPP") != "": if isinstance(bld.CONFIG_GET("CPP"), list): cpp = 'CPP="%s"' % " ".join(bld.CONFIG_GET("CPP")) else: |