1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/openvas-smb/mingw-alpine-support.patch
2019-07-22 11:32:39 +00:00

13 lines
619 B
Diff

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.")