From 93a0f37f6ead117c5bdb2aa31d74c97c6e227e10 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 27 May 2008 14:46:09 +0200 Subject: Disable CFLAGS hack when include path starts with variable. (This used to be commit 86ce8bf88acf3f9f9966ccf063bbf46d134ea4ba) --- source4/build/smb_build/makefile.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/build') diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index 0269cfe8a34..e93e3eb767a 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/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; -- cgit