Merge: Docker, portability and crosscompiling tweaks
[nit.git] / src / compiler / abstract_compiler.nit
index 35c07d5..4ce8024 100644 (file)
@@ -411,7 +411,7 @@ ifeq ($(uname_S),Darwin)
 endif
 
 # Special configuration for Windows under mingw64
-ifeq ($(uname_S),MINGW64_NT-10.0)
+ifneq ($(findstring MINGW64,$(uname_S)),)
        # Use the pcreposix regex library
        LDLIBS += -lpcreposix