diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-05-27 14:46:09 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-05-27 14:46:09 +0200 |
commit | 86ce8bf88acf3f9f9966ccf063bbf46d134ea4ba (patch) | |
tree | 5cbfcb0fc9fe52b24dbe50e7055614203a667ab9 /source/build | |
parent | 01c0000def9492989c543e7ed6d48c58a3be1854 (diff) | |
download | samba-86ce8bf88acf3f9f9966ccf063bbf46d134ea4ba.tar.gz |
Disable CFLAGS hack when include path starts with variable.
Diffstat (limited to 'source/build')
-rw-r--r-- | source/build/smb_build/makefile.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/build/smb_build/makefile.pm b/source/build/smb_build/makefile.pm index 0269cfe8a34..e93e3eb767a 100644 --- a/source/build/smb_build/makefile.pm +++ b/source/build/smb_build/makefile.pm @@ -262,6 +262,7 @@ sub CFlags($$) if($src_ne_build) { if($flag =~ m#^-I([^/].*$)#) { my $dir = $1; + next if ($dir =~ /^\$\(/); $dir =~ s#^\$\((?:src|build)dir\)/?##; push(@cflags, "-I$builddir/$dir", "-I$srcdir/$dir"); next; |