From 80f20ce62c45ee76e73deeb5e0bcf52eee534d64 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 30 Jan 2017 15:17:31 +0000 Subject: [PATCH] cross: Tweak inclusion path for Fedora/mingw64 We should explicitly add the include directory under the mingw64 toolchain to the C arguments when cross-compiling, just like we add the libdir to the link flags. --- cross/fedora-mingw64.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cross/fedora-mingw64.txt b/cross/fedora-mingw64.txt index b776611..7c0eda7 100644 --- a/cross/fedora-mingw64.txt +++ b/cross/fedora-mingw64.txt @@ -8,7 +8,7 @@ exe_wrapper = 'wine' [properties] root = '/usr/x86_64-w64-mingw32/sys-root/mingw' -c_args = [ '-pipe', '-Wp,-D_FORTIFY_SOURCE=2', '-fexceptions', '--param=ssp-buffer-size=4' ] +c_args = [ '-pipe', '-Wp,-D_FORTIFY_SOURCE=2', '-fexceptions', '--param=ssp-buffer-size=4', '-I/usr/x86_64-w64-mingw32/sys-root/mingw/include' ] c_link_args = [ '-L/usr/x86_64-w64-mingw32/sys-root/mingw/lib' ] [host_machine]