From 2df4fff1c0f83f96e64cd8b4c6af30de2aba9016 Mon Sep 17 00:00:00 2001 From: Hyunjin Song Date: Mon, 7 Oct 2019 08:02:03 +0900 Subject: [PATCH] Work around a winegcc bug of Wine >= 4.14 (#5211) See https://bugs.winehq.org/show_bug.cgi?id=47710 for details --- cmake/modules/winegcc_wrapper.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/modules/winegcc_wrapper.in b/cmake/modules/winegcc_wrapper.in index d32aec664..7677e4c37 100755 --- a/cmake/modules/winegcc_wrapper.in +++ b/cmake/modules/winegcc_wrapper.in @@ -58,6 +58,9 @@ if [ "$win64" = true ] && [ "$no_link" != true ]; then extra_args="$extra_args @WINE_64_FLAGS@" fi +# Work around https://bugs.winehq.org/show_bug.cgi?id=47710 +extra_args="$extra_args -D__WIDL_objidl_generated_name_0000000C=" + # Run winegcc export WINEBUILD=@WINE_BUILD@ @WINE_CXX@ $extra_args $args