summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2015-11-06 16:19:57 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2015-11-06 16:19:57 +0000
commit52e578cc2643cf3a804b2cfddfb6e983cd7cf804 (patch)
tree563ffd006c104d57b00fd72d17c08de5b9297352 /Makefile
parent72abd9a73b13e15e467ad96ec15d8217837b21e4 (diff)
downloadlua-scrypt-git-52e578cc2643cf3a804b2cfddfb6e983cd7cf804.tar.gz
Inline a base64 implementation so that we don't rely on the libscrypt one which is hidden on some platforms
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c9e6543..8e756c1 100644
--- a/Makefile
+++ b/Makefile
@@ -123,7 +123,7 @@ lua-5.1-install: lua-5.1
$(INSTALL) -d $(DESTDIR)$(LUA51_CMOD_INST)
$(INSTALL) -m 755 scrypt-5.1.so $(DESTDIR)$(LUA51_CMOD_INST)/scrypt.so
-scrypt-5.1.so: luascrypt.c
+scrypt-5.1.so: luascrypt.c base64.c
$(CC) $(CFLAGS) $(LUA51_INC) -shared -o $@ $^ $(LUA51_LIB) $(SCRYPT_LIBS)
lua-5.2: scrypt-5.2.so
@@ -133,7 +133,7 @@ lua-5.2-install: lua-5.2
$(INSTALL) -d $(DESTDIR)$(LUA52_CMOD_INST)
$(INSTALL) -m 755 scrypt-5.2.so $(DESTDIR)$(LUA52_CMOD_INST)/scrypt.so
-scrypt-5.2.so: luascrypt.c
+scrypt-5.2.so: luascrypt.c base64.c
$(CC) $(CFLAGS) $(LUA52_INC) -shared -o $@ $^ $(LUA52_LIB) $(SCRYPT_LIBS)