X-Git-Url: https://www.flypig.org.uk/git/?a=blobdiff_plain;f=src%2FMakefile;h=76f3a6fbd2ed717013f8d078c229a66baeb76c7c;hb=eb08afa543e8ff7ac66249842c0d19155c46c2f4;hp=0b1ba80e2d6e001afe3305a293654630e87aefb9;hpb=f30629b21a5350b205972e3e7a5dd62f683e15ad;p=hashcat.git diff --git a/src/Makefile b/src/Makefile index 0b1ba80..76f3a6f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -13,7 +13,9 @@ PROG_NAME := hashcat ## UNAME := $(shell uname -s) -UNAME := $(patsubst CYGWIN_NT-%,CYGWIN_NT-,$(UNAME)) + +# we need to strip the windows version number to be able to build hashcat on cygwin hosts +UNAME := $(patsubst CYGWIN_NT-%,CYGWIN_NT-,$(UNAME)) ifeq (,$(filter $(UNAME),Linux Darwin CYGWIN_NT-)) $(error "! Your Operating System ($(UNAME)) is not supported by $(PROG_NAME) Makefile")