We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fb9695 commit bf26309Copy full SHA for bf26309
libgit2-sys/build.rs
@@ -24,7 +24,7 @@ fn main() {
24
25
let mut cflags = os::getenv("CFLAGS").unwrap_or(String::new());
26
let target = os::getenv("TARGET").unwrap();
27
- let mingw = target.contains("mingw");
+ let mingw = target.contains("windows-gnu");
28
cflags.push_str(" -ffunction-sections -fdata-sections");
29
30
if target.contains("i686") {
0 commit comments