summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim A. Misbakh-Soloviov <git@mva.name>2018-02-16 01:42:55 +0700
committerVadim A. Misbakh-Soloviov <git@mva.name>2018-02-16 01:42:55 +0700
commit8be807a775bdf527134140651843e248bfbf9fc8 (patch)
tree0698958215ae5f292e2af722691119613cc5149c
parentraven: fix (diff)
downloadlua-8be807a775bdf527134140651843e248bfbf9fc8.tar.gz
lua-8be807a775bdf527134140651843e248bfbf9fc8.tar.bz2
lua-8be807a775bdf527134140651843e248bfbf9fc8.zip
argon2: fix
-rw-r--r--dev-lua/lua-argon2/lua-argon2-9999.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-lua/lua-argon2/lua-argon2-9999.ebuild b/dev-lua/lua-argon2/lua-argon2-9999.ebuild
index 073da13..355e7c7 100644
--- a/dev-lua/lua-argon2/lua-argon2-9999.ebuild
+++ b/dev-lua/lua-argon2/lua-argon2-9999.ebuild
@@ -30,10 +30,10 @@ DOCS=({README,CHANGELOG}.md)
each_lua_compile() {
_lua_setFLAGS
- ${CC} ${CFLAGS} -c -o "${PN}.o" "src/${PN}.c" || die
- ${CC} ${LDFLAGS} -largon2 -o "${PN}.so" "${PN}.o" || die
+ ${CC} ${CFLAGS} -c -o "${PN}.o" "src/${PN#lua-}.c" || die
+ ${CC} ${LDFLAGS} -largon2 -o "${PN#lua-}.so" "${PN}.o" || die
}
each_lua_install() {
- dolua "${PN}.so"
+ dolua "argon2.so"
}