Skip to content

Commit

Permalink
meson.eclass: fix cross compile file for mingw
Browse files Browse the repository at this point in the history
This is necessary for cross compiling for example x11-libs/gdk-pixbuf

Closes: gentoo#12168
Signed-off-by: Gerhard Bräunlich <[email protected]>
Signed-off-by: Mike Gilbert <[email protected]>
  • Loading branch information
g-braeunlich authored and floppym committed Jun 3, 2019
1 parent 6fd653b commit ca383d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eclass/meson.eclass
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2017-2018 Gentoo Authors
# Copyright 2017-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# @ECLASS: meson.eclass
Expand Down Expand Up @@ -160,6 +160,7 @@ _meson_create_cross_file() {
objcpp = $(_meson_env_array "$(tc-getPROG OBJCXX c++)")
pkgconfig = '$(tc-getPKG_CONFIG)'
strip = $(_meson_env_array "$(tc-getSTRIP)")
windres = $(_meson_env_array "$(tc-getRC)")
[properties]
c_args = $(_meson_env_array "${CFLAGS} ${CPPFLAGS}")
Expand Down

0 comments on commit ca383d8

Please sign in to comment.