lua-bcrypt

Secure password hashing for Lua
Log | Files | Refs

commit 1bbb2f6c4bb8831cb726e931593671149556b045
parent fb7a49c1f6de49327b37b818634e01acbfc59dc6
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Thu, 24 Dec 2015 15:34:49 +0000

Simplify Makefile.mess a bit

Diffstat:
Makefile.mess | 12+++++-------
1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/Makefile.mess b/Makefile.mess @@ -6,9 +6,13 @@ endif # OS detection uname := $(shell uname -s) -ifeq ($(uname),OpenBSD) +ifneq ($(uname),Darwin) LDFLAGS += -shared else + LDFLAGS += -bundle -undefined dynamic_lookup +endif + +ifneq ($(uname),OpenBSD) # This is more or less what libressl does # See http://openbsd.cs.toronto.edu/cgi-bin/cvsweb/src/lib/libssl/src/crypto/mem_clr.c?rev=1.4&content-type=text/x-cvsweb-markup CFLAGS += -DOPENSSL_cleanse=explicit_bzero @@ -19,12 +23,6 @@ else # GCC whines without this. Assume everyone has strndup anyway CFLAGS += -DHAVE_STRNDUP - ifneq ($(uname),Darwin) - LDFLAGS += -shared - else - LDFLAGS += -bundle -undefined dynamic_lookup - endif - CFLAGS += -Iinclude SRCS += compat/safebfuns.c