mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 18:09:27 +02:00
* add path of make to SEARCHPATH
This commit is contained in:
parent
6ec9da620b
commit
964de0b20a
File diff suppressed because it is too large
Load Diff
@ -23,6 +23,8 @@ SEARCHPATH:=$(filter-out .,$(subst :, ,$(PATH)))
|
||||
else
|
||||
SEARCHPATH:=$(subst ;, ,$(PATH))
|
||||
endif
|
||||
# Add path were make is located
|
||||
SEARCHPATH+=$(patsubst %/,%,$(dir $(MAKE)))
|
||||
|
||||
# Search for PWD and determine also if we are under linux
|
||||
PWD:=$(strip $(wildcard $(addsuffix /pwd.exe,$(SEARCHPATH))))
|
||||
|
Loading…
Reference in New Issue
Block a user