summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-01-30 15:17:31 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2017-01-31 12:59:46 +0000
commit80f20ce62c45ee76e73deeb5e0bcf52eee534d64 (patch)
tree46d0be85cf2038ed730591a2e25ce79fd3374ee0 /cross
parent2b2055576ebb70336a2ced67f5298c216b3329a5 (diff)
downloadlibepoxy-80f20ce62c45ee76e73deeb5e0bcf52eee534d64.tar.gz
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.
Diffstat (limited to 'cross')
-rw-r--r--cross/fedora-mingw64.txt2
1 files changed, 1 insertions, 1 deletions
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]