diff --git a/src/p_unix.cpp b/src/p_unix.cpp index 61a1c0f2..8816957a 100644 --- a/src/p_unix.cpp +++ b/src/p_unix.cpp @@ -63,7 +63,7 @@ bool PackUnix::canPack() if (exetype == 0) return false; -#if defined(__unix__) +#if defined(__unix__) && !defined(__MSYS2__) // must be executable by owner if ((fi->st.st_mode & S_IXUSR) == 0) throwCantPack("file not executable; try 'chmod +x'");