From d4914b31664e771ae93b88f6f83fb24c616b20fd Mon Sep 17 00:00:00 2001
From: william <william@25tandclement.com>
Date: Mon, 22 Sep 2014 15:03:08 -0700
Subject: bind opensslv.h and opensslconf.h macros

---
 src/GNUmakefile | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'src/GNUmakefile')

diff --git a/src/GNUmakefile b/src/GNUmakefile
index 6a0bb3c..1b77d43 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -87,6 +87,7 @@ LUAC$(1)_$(d) = $$(or $$(call LUAPATH_$(d), $(1), luac), true)
 
 MODS$(1)_$(d) = \
 	$$(DESTDIR)$(2)/_openssl.so \
+	$$(DESTDIR)$(3)/openssl.lua \
 	$$(DESTDIR)$(3)/openssl/bignum.lua \
 	$$(DESTDIR)$(3)/openssl/pkey.lua \
 	$$(DESTDIR)$(3)/openssl/pubkey.lua \
@@ -111,6 +112,11 @@ $$(DESTDIR)$(2)/_openssl.so: $$(d)/$(1)/openssl.so
 	$$(MKDIR) -p $$(@D)
 	$$(CP) -fp $$< $$@
 
+$$(DESTDIR)$(3)/openssl.lua: $$(d)/openssl.lua
+	$$(LUAC$(1)_$(d)) -p $$<
+	$$(MKDIR) -p $$(@D)
+	$$(CP) -p $$< $$@
+
 $$(DESTDIR)$(3)/openssl/%.lua: $$(d)/openssl.%.lua
 	$$(LUAC$(1)_$(d)) -p $$<
 	$$(MKDIR) -p $$(@D)
-- 
cgit v1.2.3-59-g8ed1b