summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorDaniel Coonce <danielcoonce@gmail.com>2020-11-16 22:21:38 -0600
committerMartin Michlmayr <tbm@cyrius.com>2021-02-02 18:06:30 +0800
commitabc09ceacfdaa13e114b1cb492c5d9fbefc14669 (patch)
tree7c56e43c9a26aec8220255fd34ce0b6b63308a50 /acprep
parentf70537632290035e56e1e4f7173a44d937b457ff (diff)
downloadfork-ledger-abc09ceacfdaa13e114b1cb492c5d9fbefc14669.tar.gz
fork-ledger-abc09ceacfdaa13e114b1cb492c5d9fbefc14669.tar.bz2
fork-ledger-abc09ceacfdaa13e114b1cb492c5d9fbefc14669.zip
Add support for MSYS Makefiles in acprep
Useful for building in a MINGW32/64 console on Windows.
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep3
1 files changed, 3 insertions, 0 deletions
diff --git a/acprep b/acprep
index 397ae83b..cb1d3b92 100755
--- a/acprep
+++ b/acprep
@@ -755,6 +755,9 @@ class PrepareBuild(CommandLineApp):
if system.startswith('CYGWIN'):
self.configure_args.append('-G')
self.configure_args.append('Unix Makefiles')
+ elif system.startswith('MINGW'):
+ self.configure_args.append('-G')
+ self.configure_args.append('MSYS Makefiles')
elif self.options.use_ninja:
self.configure_args.append('-GNinja')