This commit is contained in:
Evgeny committed 2026-03-08 19:45:58 +03:00
1 parent 8bef8d8644
commit 2f12150c31
2 files changed
+16 -26

No files matched your search

+2 -26
View File
@@ -23,32 +23,8 @@ utun_CORE_SOURCES = \
control_server.c
# Platform-specific TUN sources
# Use AM_CONDITIONAL to select the right source file
if OS_WINDOWS
utun_TUN_SOURCES = tun_windows.c
utun_TUN_LIBS = -liphlpapi -lws2_32 -ladvapi32 -lbcrypt -ldbghelp
AM_CONDITIONAL(TUN_FREEBSD, [false])
AM_CONDITIONAL(TUN_LINUX, [false])
endif
if OS_FREEBSD
utun_TUN_SOURCES = tun_freebsd.c
utun_TUN_LIBS =
AM_CONDITIONAL(TUN_FREEBSD, [true])
AM_CONDITIONAL(TUN_LINUX, [false])
endif
if OS_WINDOWS
else
if OS_FREEBSD
else
utun_TUN_SOURCES = tun_linux.c
utun_TUN_LIBS =
AM_CONDITIONAL(TUN_FREEBSD, [false])
AM_CONDITIONAL(TUN_LINUX, [true])
endif
endif
utun_TUN_SOURCES = $(TUN_SOURCE)
utun_TUN_LIBS = $(TUN_LIBS)
# TinyCrypt sources (only used without OpenSSL)
utun_TINYCRYPT_SOURCES = \