Skip to content

Commit

Permalink
Add support for MSYS2
Browse files Browse the repository at this point in the history
  • Loading branch information
eonj committed Apr 6, 2017
1 parent 7d35fcb commit 387970f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/mk_util.py
Expand Up @@ -2464,7 +2464,7 @@ def mk_config():
OS_DEFINES = '-D_OPENBSD_'
SO_EXT = '.so'
SLIBFLAGS = '-shared'
elif sysname[:6] == 'CYGWIN':
elif sysname[:6] == 'CYGWIN' or sysname[:7] == 'MSYS_NT':
CXXFLAGS = '%s -D_CYGWIN -fno-strict-aliasing' % CXXFLAGS
OS_DEFINES = '-D_CYGWIN'
SO_EXT = '.dll'
Expand Down

0 comments on commit 387970f

Please sign in to comment.