Skip to content

Commit

Permalink
fix: makefile windows regression, detect MSYS2
Browse files Browse the repository at this point in the history
  • Loading branch information
cgwkymt committed Mar 2, 2024
1 parent 6c921ca commit 8816025
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ CFLAGS += -Wall -Werror -fpic -std=gnu99
ifeq ($(OS),Windows_NT)
CC = gcc
TARGET := libfzf.dll
ifeq (,$(findstring MSYS,$(MSYSTEM)))
# On Windows, but NOT msys
ifeq (,$(findstring $(MSYSTEM),MSYS UCRT64 CLANG64 CLANGARM64 CLANG32 MINGW64 MINGW32))
# On Windows, but NOT msys/msys2
MKD = cmd /C mkdir
RM = cmd /C rmdir /Q /S
else
Expand Down

0 comments on commit 8816025

Please sign in to comment.