From f01d5364141a3e2a965bd9d46e65a2bd851e27ec Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 30 May 2017 23:14:27 +0800 Subject: add winreg.query and improve program --- core/pkg/base.pkg/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/pkg/base.pkg/xmake.lua') diff --git a/core/pkg/base.pkg/xmake.lua b/core/pkg/base.pkg/xmake.lua index db521e677..92d1ced6d 100644 --- a/core/pkg/base.pkg/xmake.lua +++ b/core/pkg/base.pkg/xmake.lua @@ -5,7 +5,7 @@ option("base") set_category("package") -- add links - if is_os("windows") then add_links("ws2_32") + if is_os("windows") then add_links("ws2_32", "Advapi32") elseif is_os("android") then add_links("m", "c") else add_links("pthread", "dl", "m", "c") end -- cgit v1.3.1