rename addvar to add

pull/13/head
ruki 6 years ago
parent 5104b56bd6
commit 6f95693259
No known key found for this signature in database
GPG Key ID: 33341DF9719963FA
  1. 2
      packages/g/glew/xmake.lua
  2. 4
      packages/l/libuv/xmake.lua
  3. 2
      packages/x/x265/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)

@ -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)

@ -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)

Loading…
Cancel
Save