mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
Don't throw away cflags if they start with a variable.
This commit is contained in:
parent
0406713aad
commit
9f81214239
@ -262,7 +262,10 @@ sub CFlags($$)
|
||||
if($src_ne_build) {
|
||||
if($flag =~ m#^-I([^/].*$)#) {
|
||||
my $dir = $1;
|
||||
next if ($dir =~ /^\$\(/);
|
||||
if ($dir =~ /^\$\(/) {
|
||||
push (@cflags, $flag);
|
||||
next;
|
||||
}
|
||||
$dir =~ s#^\$\((?:src|build)dir\)/?##;
|
||||
push(@cflags, "-I$builddir/$dir", "-I$srcdir/$dir");
|
||||
next;
|
||||
|
@ -415,7 +415,7 @@ $(HEIMDAL_ROKEN_GETPROGNAME_OBJ_FILES): CFLAGS+=-I$(heimdalbuildsrcdir) -I$(heim
|
||||
[SUBSYSTEM::HEIMDAL_ROKEN_CLOSEFROM]
|
||||
|
||||
HEIMDAL_ROKEN_CLOSEFROM_OBJ_FILES = $(heimdalsrcdir)/lib/roken/closefrom.o
|
||||
$(HEIMDAL_ROKEN_CLOSEFROM): CFLAGS+=-I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/roken -I$(socketwrappersrcdir)
|
||||
$(HEIMDAL_ROKEN_CLOSEFROM_OBJ_FILES): CFLAGS+=-I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/roken -I$(socketwrappersrcdir)
|
||||
|
||||
[SUBSYSTEM::HEIMDAL_ROKEN_GETPROGNAME_H]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user