mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Check for non-whitespace instead of alphanumerics when grabbing module names from the REQUIRES list.
Bug #141999 sr=alecf
This commit is contained in:
parent
5915792ecd
commit
d5f00c4c67
@ -142,7 +142,7 @@ INCS=$(INCS) -I$(PUBLIC) -I$(DIST)\include -I$(XPDIST)\include\nspr
|
||||
|
||||
# use perl to translate REQUIRES into a proper include line
|
||||
# using \1 instead of $1 because nmake barfs on $1
|
||||
!if [echo $(REQUIRES) | perl -pe "s/(\w+)/-I$(XPDIST:\=\/)\\\include\\\\\1/g; print \"REQINCS=$_\";" > reqincs.inc]
|
||||
!if [echo $(REQUIRES) | perl -pe "s/(\S+)/-I$(XPDIST:\=\/)\\\include\\\\\1/g; print \"REQINCS=$_\";" > reqincs.inc]
|
||||
!endif
|
||||
|
||||
!else
|
||||
|
Loading…
Reference in New Issue
Block a user