Closed midrare closed 1 year ago
On Windows with MSYS2, running make hangs because cmd /c enters cmd.exe interactive mode. (Also the command cmd /c was supposed to run doesn't run.)
make
cmd /c
cmd.exe
The offending line in Makefile is this: ifeq ($(OS),Windows_NT). It needs to match Windows while excluding MSYS2.
Makefile
ifeq ($(OS),Windows_NT)
According to https://stackoverflow.com/a/52062069 we can do this by looking for instances of ; in PATH:
;
PATH
ifeq '$(findstring ;,$(PATH))' ';' # is normal windows else # is linux or linux-like (e.g. MSYS2) environment endif
does https://github.com/nvim-telescope/telescope-fzf-native.nvim/pull/87 help?
@Conni2461 Yes, #87 fixes the bug.
On Windows with MSYS2, running
make
hangs becausecmd /c
enterscmd.exe
interactive mode. (Also the commandcmd /c
was supposed to run doesn't run.)The offending line in
Makefile
is this:ifeq ($(OS),Windows_NT)
. It needs to match Windows while excluding MSYS2.According to https://stackoverflow.com/a/52062069 we can do this by looking for instances of
;
inPATH
: