Work around a winegcc bug of Wine >= 4.14 (#5211)

See https://bugs.winehq.org/show_bug.cgi?id=47710 for details
This commit is contained in:
Hyunjin Song
2019-10-07 08:02:03 +09:00
committed by GitHub
parent da09b2a941
commit 2df4fff1c0

View File

@@ -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