aboutsummaryrefslogtreecommitdiffstats
path: root/src/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r--src/GNUmakefile6
1 files changed, 6 insertions, 0 deletions
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)