diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-08-19 10:50:54 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-08-19 10:50:54 +0200 |
commit | 7ade573ff17bfbf3f9d22afcb26f82c22032651c (patch) | |
tree | dced1fc25c386719316996eeee4b6e7009685b96 | |
parent | 15d43dee37441b768cf401e692a861bfbe06ced8 (diff) | |
download | lua-aports-7ade573ff17bfbf3f9d22afcb26f82c22032651c.tar.bz2 lua-aports-7ade573ff17bfbf3f9d22afcb26f82c22032651c.tar.xz |
pkg: fix libc detection
-rw-r--r-- | aports/pkg.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/aports/pkg.lua b/aports/pkg.lua index b6c6aad..9689ecf 100644 --- a/aports/pkg.lua +++ b/aports/pkg.lua @@ -91,8 +91,7 @@ function M.arch_enabled(pkg) end function M.libc_enabled(pkg) - local libc = abuild.chost:match("-([%a]+)$") - return not pkg.options["!libc_"..libc] + return not pkg.options["!libc_"..abuild.libc] end function M.relevant(pkg) |