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 ////////////////////////////////////////////////// Заставка