fix linux build
Signed-off-by: r4sas <r4sas@i2pmail.org>
This commit is contained in:
parent
d670fc3928
commit
1a8346542f
6
Makefile
6
Makefile
@ -24,12 +24,8 @@ else
|
||||
ifeq ($(STATIC),yes)
|
||||
LIBPATH = /usr/lib/$(SYS)
|
||||
LDLIBS = -pthread $(LIBPATH)/libsodium.a -lpthread -ldl
|
||||
else ifeq ($(STATIC),full)
|
||||
LIBPATH = /usr/lib/$(SYS)
|
||||
LDFLAGS += -static
|
||||
LDLIBS = -pthread $(LIBPATH)/libsodium.a -lpthread -ldl
|
||||
else
|
||||
LDLIBS = -lcrypto -lpthread
|
||||
LDLIBS = -lsodium -lpthread
|
||||
endif
|
||||
endif
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
#ifdef _WIN32
|
||||
#include <ws2tcpip.h>
|
||||
#else
|
||||
#include <ifaddrs.h>
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
////////////////////////////////////////////////// Заставка
|
||||
|
Loading…
Reference in New Issue
Block a user