From 1a8346542f6e0425063376c228f9ac30dfc27e64 Mon Sep 17 00:00:00 2001 From: r4sas Date: Tue, 18 Aug 2020 13:24:14 +0000 Subject: [PATCH] fix linux build Signed-off-by: r4sas --- Makefile | 6 +----- sygcpp.cpp | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index ce76ca5..51ec0c0 100644 --- a/Makefile +++ b/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 diff --git a/sygcpp.cpp b/sygcpp.cpp index bb00e16..959999d 100644 --- a/sygcpp.cpp +++ b/sygcpp.cpp @@ -31,7 +31,7 @@ #ifdef _WIN32 #include #else - #include + #include #endif ////////////////////////////////////////////////// Заставка