Add -ladvapi32 for Windows CryptGenRandom support

This commit is contained in:
Evgeny committed 2026-02-15 04:36:47 +03:00
1 parent f5faa7c834
commit ada25ec4cc
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ utun_CORE_SOURCES = \
# Platform-specific TUN sources
if OS_WINDOWS
utun_TUN_SOURCES = tun_windows.c
utun_TUN_LIBS = -liphlpapi -lws2_32
utun_TUN_LIBS = -liphlpapi -lws2_32 -ladvapi32
else
utun_TUN_SOURCES = tun_linux.c
utun_TUN_LIBS =