termux-packages/root-packages/ettercap/EttercapOSTest.cmake.patch

11 lines
385 B
Diff

--- ../EttercapOSTest.cmake.orig 2019-08-27 19:01:04.600920329 +0200
+++ ./cmake/Modules/EttercapOSTest.cmake 2019-08-27 19:57:48.826678789 +0200
@@ -1,5 +1,7 @@
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(OS_LINUX 1)
+elseif(${CMAKE_SYSTEM_NAME} MATCHES "Android")
+ set(OS_LINUX 1)
elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
set(OS_BSD 1)
set(OS_BSD_FREE 1)