Przeglądaj źródła

* add path of make to SEARCHPATH

peter 22 lat temu
rodzic
commit
964de0b20a
2 zmienionych plików z 173 dodań i 169 usunięć
  1. 171 169
      utils/fpcm/fpcmake.inc
  2. 2 0
      utils/fpcm/fpcmake.ini

Plik diff jest za duży
+ 171 - 169
utils/fpcm/fpcmake.inc


+ 2 - 0
utils/fpcm/fpcmake.ini

@@ -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))))

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików