From 7ade573ff17bfbf3f9d22afcb26f82c22032651c Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 19 Aug 2014 10:50:54 +0200 Subject: pkg: fix libc detection --- aports/pkg.lua | 3 +-- 1 file changed, 1 insertion(+), 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) -- cgit v1.2.3