diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-11-07 11:57:33 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-11-07 11:57:33 +0200 |
commit | ecd3e83d384cad36c3ae28988d0a95b77f627f4c (patch) | |
tree | f75f1535dbdbb36a162a73986d03f905ed0c8009 /libbuild2 | |
parent | 882583f64e517ab232edb6bbb7433631c655c9da (diff) |
Use `lib` prefix on MinGW when forming build system module library name
Diffstat (limited to 'libbuild2')
-rw-r--r-- | libbuild2/module.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libbuild2/module.cxx b/libbuild2/module.cxx index a8304ff..eec770b 100644 --- a/libbuild2/module.cxx +++ b/libbuild2/module.cxx @@ -330,7 +330,9 @@ namespace build2 // const char* pfx; const char* sfx; -#if defined(_WIN32) +#if defined(__MINGW32__) + pfx = "libbuild2-"; sfx = ".dll"; +#elif defined(_WIN32) pfx = "build2-"; sfx = ".dll"; #elif defined(__APPLE__) pfx = "libbuild2-"; sfx = ".dylib"; |