summaryrefslogtreecommitdiffstats
path: root/aports/pkg.lua
diff options
context:
space:
mode:
Diffstat (limited to 'aports/pkg.lua')
-rw-r--r--aports/pkg.lua3
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)