lua-symmetric

Symmetric crypto for Lua
Log | Files | Refs

commit d0c8df3d5a44b4f8911af235a52d1e4e0df2c745
parent af87432fd6ac524df4556274331f237339d5950c
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Thu, 24 Dec 2015 15:36:36 +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 @@ -16,12 +20,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