Peter Vreman peter at freepascal.org
Mon Oct 13 14:17:55 CEST 2003

At 23:43 11-10-2003, you wrote:
>If we change FPCMAKE to generate code like this:
>#add dir of make.exe to PATH
>override PATH +=$(dir $(MAKE))    <-----------------
>override PATH:=$(subst \,/,$(PATH))
>#$(error $(PATH))
>ifeq ($(findstring ;,$(PATH)),)
>SEARCHPATH:=$(filter-out .,$(subst :, ,$(PATH)))
>SEARCHPATH:=$(subst ;, ,$(PATH))
>PWD:=$(strip $(wildcard $(addsuffix /pwd.exe,$(SEARCHPATH))))
># if dir has backslash on the end then search fail
>ifeq ($(PWD),)             <-------------
>PWD:=$(strip $(wildcard $(addsuffix pwd.exe,$(SEARCHPATH))))   <-----------
>endif   <---------------

Added to fpcmake.ini


More information about the fpc-devel mailing list