diff --git a/packages/g/glew/xmake.lua b/packages/g/glew/xmake.lua index fc8133f8b..160c9a68d 100644 --- a/packages/g/glew/xmake.lua +++ b/packages/g/glew/xmake.lua @@ -12,7 +12,7 @@ package("glew") end on_load("windows", function (package) - package:addvar("links", "glew32s") + package:add("links", "glew32s") end) on_install("windows", function (package) diff --git a/packages/l/libuv/xmake.lua b/packages/l/libuv/xmake.lua index d8ed45a7c..d3100a0b2 100644 --- a/packages/l/libuv/xmake.lua +++ b/packages/l/libuv/xmake.lua @@ -19,8 +19,8 @@ package("libuv") end on_load("windows", function (package) - package:addvar("links", "uv_a") - package:addvar("syslinks", "advapi32", "iphlpapi", "psapi", "user32", "userenv", "ws2_32", "kernel32", "gdi32", "winspool", "shell32", "ole32", "oleaut32", "uuid", "comdlg32") + package:add("links", "uv_a") + package:add("syslinks", "advapi32", "iphlpapi", "psapi", "user32", "userenv", "ws2_32", "kernel32", "gdi32", "winspool", "shell32", "ole32", "oleaut32", "uuid", "comdlg32") end) on_install("windows", function (package) diff --git a/packages/x/x265/xmake.lua b/packages/x/x265/xmake.lua index 500c502da..1a05c8409 100644 --- a/packages/x/x265/xmake.lua +++ b/packages/x/x265/xmake.lua @@ -10,7 +10,7 @@ package("x265") add_deps("cmake", "nasm") on_load("linux", "macosx", function (package) - package:addvar("syslinks", "c++") + package:add("syslinks", "c++") end) on_install("linux", "macosx", function (package)