aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openvas-smb/mingw-alpine-support.patch
blob: 527da607e70421bc046584a6c86fec53bef0fbf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/winexe/CMakeLists.txt b/winexe/CMakeLists.txt
index a0e8bb5..2cb6040 100644
--- a/winexe/CMakeLists.txt
+++ b/winexe/CMakeLists.txt
@@ -54,7 +54,7 @@ include_directories(${SMB_INCLUDES})
 include_directories(${POPT_INCLUDE_DIRS})
 include_directories(${GLIB_INCLUDE_DIRS})
 
-find_program(MINGW_GCC NAMES i686-w64-mingw32-gcc i586-mingw32msvc-gcc)
+find_program(MINGW_GCC NAMES i686-w64-mingw32-gcc i586-mingw32msvc-gcc x86_64-w64-mingw32-gcc x86-w64-mingw32-gcc)
 
 if (NOT MINGW_GCC)
   message(SEND_ERROR "i586-mingw32msvc-gcc not found in PATH.\nIt is needed to build the Windows Service for winexe.")