AssembleNasm: add source dir to include path.
This makes it possible to %include local files. nasm doesn't allow this otherwise (include paths are assumed relative to the working directory). Fixes build of ape_reader.
This commit is contained in:
parent
0fecd3e882
commit
2311bdf24f
|
@ -179,9 +179,9 @@ rule AssembleNasm
|
|||
actions AssembleNasm
|
||||
{
|
||||
if test $(ASFLAGS) ; then
|
||||
$(HAIKU_NASM) -d $(ASFLAGS) $(NASMFLAGS) -o $(1) $(2);
|
||||
$(HAIKU_NASM) -d $(ASFLAGS) $(NASMFLAGS) -I$(2:D)/ -o $(1) $(2) ;
|
||||
else
|
||||
$(HAIKU_NASM) $(NASMFLAGS) -o $(1) $(2);
|
||||
$(HAIKU_NASM) $(NASMFLAGS) -I$(2:D)/ -o $(1) $(2) ;
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue