Browse Source

fix linux build

Signed-off-by: r4sas <r4sas@i2pmail.org>
master
R4SAS 4 years ago
parent
commit
1a8346542f
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 6
      Makefile
  2. 2
      sygcpp.cpp

6
Makefile

@ -24,12 +24,8 @@ else @@ -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

2
sygcpp.cpp

@ -31,7 +31,7 @@ @@ -31,7 +31,7 @@
#ifdef _WIN32
#include <ws2tcpip.h>
#else
#include <ifaddrs.h>
#include <arpa/inet.h>
#endif
////////////////////////////////////////////////// Заставка

Loading…
Cancel
Save