termux-packages/packages/softether-vpn/src-CMakeLists.txt.patch

12 lines
324 B
Diff
Raw Normal View History

2022-01-09 06:19:33 +01:00
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -69,7 +69,7 @@
add_definitions(-DUNIX -DOS_UNIX)
- if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
+ if(${CMAKE_SYSTEM_NAME} MATCHES "Android|Linux")
add_definitions(-DUNIX_LINUX)
if("$ENV{USE_MUSL}" STREQUAL "YES")
add_definitions(-DUNIX_LINUX_MUSL)