mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 23:59:10 +02:00
* replace \ with / in path to make.exe
This commit is contained in:
parent
dfd3b0716e
commit
bb595e61bb
File diff suppressed because it is too large
Load Diff
@ -24,7 +24,7 @@ else
|
|||||||
SEARCHPATH:=$(subst ;, ,$(PATH))
|
SEARCHPATH:=$(subst ;, ,$(PATH))
|
||||||
endif
|
endif
|
||||||
# Add path were make is located
|
# Add path were make is located
|
||||||
SEARCHPATH+=$(patsubst %/,%,$(dir $(MAKE)))
|
SEARCHPATH+=$(patsubst %/,%,$(subst \,/,$(dir $(MAKE))))
|
||||||
|
|
||||||
# Search for PWD and determine also if we are under linux
|
# Search for PWD and determine also if we are under linux
|
||||||
PWD:=$(strip $(wildcard $(addsuffix /pwd.exe,$(SEARCHPATH))))
|
PWD:=$(strip $(wildcard $(addsuffix /pwd.exe,$(SEARCHPATH))))
|
||||||
|
Loading…
Reference in New Issue
Block a user