aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatarLibravatar william <william@25thandclement.com> 2015-02-25 12:45:41 -0800
committerLibravatarLibravatar william <william@25thandclement.com> 2015-02-25 12:45:41 -0800
commitec65507f2ac00a1ad017363a3567ab3e39a6f5cb (patch)
treedaf28cbea7fea2c4a9940c94fedf6e5d61a81c6d /src
parent685b4c9e4038268872d4f144bd495aae518c23de (diff)
downloadluaossl-ec65507f2ac00a1ad017363a3567ab3e39a6f5cb.tar.gz
luaossl-ec65507f2ac00a1ad017363a3567ab3e39a6f5cb.tar.bz2
luaossl-ec65507f2ac00a1ad017363a3567ab3e39a6f5cb.zip
add des to build and fix Lua 5.3 build
Diffstat (limited to 'src')
-rw-r--r--src/GNUmakefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile
index 1b77d43..74a19fe 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -20,7 +20,7 @@ OS_$(d) = $(shell $(d)/../mk/vendor.os)
CC_$(d) = $(shell env CC="$(CC) "$(d)/../mk/vendor.cc)
LUAPATH_$(d) = $(shell env CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" $(<D)/../mk/lua.path -krxm3 -I$(DESTDIR)$(includedir) -I/usr/include -I/usr/local/include -P$(DESTDIR)$(bindir) -P$(bindir) -L$(DESTDIR)$(libdir) -L$(libdir) -v$(1) $(2))
-CPPFLAGS_$(d) = $(CPPFLAGS_$(abspath $(@D)/../..)) -DLUA_COMPAT_APIUNSIGNED
+CPPFLAGS_$(d) = $(CPPFLAGS_$(abspath $(@D)/../..)) -DLUA_COMPAT_APIINTCASTS
CFLAGS_$(d) = $(CFLAGS_$(abspath $(@D)/../..))
LDFLAGS_$(d) = $(LDFLAGS_$(abspath $(@D)/../..))
SOFLAGS_$(d) = $(SOFLAGS_$(abspath $(@D)/../..))
@@ -104,7 +104,8 @@ MODS$(1)_$(d) = \
$$(DESTDIR)$(3)/openssl/digest.lua \
$$(DESTDIR)$(3)/openssl/hmac.lua \
$$(DESTDIR)$(3)/openssl/cipher.lua \
- $$(DESTDIR)$(3)/openssl/rand.lua
+ $$(DESTDIR)$(3)/openssl/rand.lua \
+ $$(DESTDIR)$(3)/openssl/des.lua
.SECONDARY: liblua$(1)-openssl-install openssl$(1)-install