|
|
|
@ -75,9 +75,6 @@ ETCP_FULL_OBJS = \ |
|
|
|
$(top_builddir)/src/utun-utun_instance.o \
|
|
|
|
$(top_builddir)/src/utun-utun_instance.o \
|
|
|
|
$(ETCP_CORE_OBJS)
|
|
|
|
$(ETCP_CORE_OBJS)
|
|
|
|
|
|
|
|
|
|
|
|
# Common libraries (libuasync.a from lib directory)
|
|
|
|
|
|
|
|
COMMON_LIBS = $(top_builddir)/lib/libuasync.a -lpthread $(WIN_LIBS)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Windows-specific libraries (advapi32 for CryptGenRandom, ws2_32 for sockets)
|
|
|
|
# Windows-specific libraries (advapi32 for CryptGenRandom, ws2_32 for sockets)
|
|
|
|
if OS_WINDOWS |
|
|
|
if OS_WINDOWS |
|
|
|
WIN_LIBS = -lws2_32 -liphlpapi -ladvapi32
|
|
|
|
WIN_LIBS = -lws2_32 -liphlpapi -ladvapi32
|
|
|
|
@ -85,6 +82,9 @@ else |
|
|
|
WIN_LIBS =
|
|
|
|
WIN_LIBS =
|
|
|
|
endif |
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Common libraries (libuasync.a from lib directory)
|
|
|
|
|
|
|
|
COMMON_LIBS = $(top_builddir)/lib/libuasync.a -lpthread $(WIN_LIBS)
|
|
|
|
|
|
|
|
|
|
|
|
# Crypto libraries (conditional)
|
|
|
|
# Crypto libraries (conditional)
|
|
|
|
if USE_OPENSSL |
|
|
|
if USE_OPENSSL |
|
|
|
CRYPTO_LIBS = -lcrypto
|
|
|
|
CRYPTO_LIBS = -lcrypto
|
|
|
|
|