MinGW-w64: Disable building 'etwdump'

This commit is contained in:
João Valverde 2021-07-15 02:34:52 +01:00 committed by Wireshark GitLab Utility
parent d09651e637
commit 0c735dcf0a
1 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,9 @@ option(BUILD_sshdump "Build sshdump" ON)
option(BUILD_ciscodump "Build ciscodump" ON)
option(BUILD_dpauxmon "Build dpauxmon" ON)
option(BUILD_randpktdump "Build randpktdump" ON)
if(WIN32)
if(WIN32 AND NOT MINGW)
# XXX - I don't think building etwdump is possible with MinGW-w64 as of
# version 9.0 but I would like to be 100% certain.
option(BUILD_etwdump "Build etwdump" ON)
else()
option(BUILD_etwdump "Build etwdump" OFF)