|
|
@ -24,12 +24,8 @@ else |
|
|
|
ifeq ($(STATIC),yes) |
|
|
|
ifeq ($(STATIC),yes) |
|
|
|
LIBPATH = /usr/lib/$(SYS) |
|
|
|
LIBPATH = /usr/lib/$(SYS) |
|
|
|
LDLIBS = -pthread $(LIBPATH)/libsodium.a -lpthread -ldl |
|
|
|
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 |
|
|
|
else |
|
|
|
LDLIBS = -lcrypto -lpthread |
|
|
|
LDLIBS = -lsodium -lpthread |
|
|
|
endif |
|
|
|
endif |
|
|
|
endif |
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|