You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
713 B
22 lines
713 B
6 years ago
|
This file is part of MXE. See LICENSE.md for licensing information.
|
||
|
|
||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||
|
From: Mark Brand <mabrand@mabrand.nl>
|
||
|
Date: Sat, 15 Dec 2018 16:51:30 +0100
|
||
|
Subject: [PATCH 1/1] [MXE] more tolerant parsing for mingw in host triplet
|
||
|
|
||
|
|
||
|
diff --git a/src/mkheader.c b/src/mkheader.c
|
||
|
index 1111111..2222222 100644
|
||
|
--- a/src/mkheader.c
|
||
|
+++ b/src/mkheader.c
|
||
|
@@ -601,7 +601,7 @@ write_special (const char *fname, int lnr, const char *tag)
|
||
|
}
|
||
|
else if (!strcmp (tag, "include:os-add"))
|
||
|
{
|
||
|
- if (!strcmp (host_os, "mingw32"))
|
||
|
+ if (strstr (host_os, "mingw"))
|
||
|
{
|
||
|
include_file (fname, lnr, "w32-add.h", write_line);
|
||
|
}
|