mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-10-22 01:51:20 +03:00
musl support
Internat.c: fix iconv() with musl by removing unrecognized EUCJP encoding src/CMakeFiles.txt: recognize USE_MUSL=YES environment variable to compile with musl
This commit is contained in:
1 parent
d65f292888
commit
3b4e8fd9fa
2 files changed
+6
-3
No files matched your search
@@ -43,6 +43,9 @@ if(UNIX)
|
||||
|
||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
||||
add_definitions(-DUNIX_LINUX)
|
||||
if($ENV{USE_MUSL} STREQUAL "YES")
|
||||
add_definitions(-DUNIX_LINUX_MUSL)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
||||
|
||||
Reference in new issue
Block a user