improve libpng

pull/13/head
ruki 6 years ago
parent 43e5cc2f15
commit 18e1df1153
No known key found for this signature in database
GPG Key ID: 33341DF9719963FA
  1. 2
      packages/l/libpng/xmake.lua
  2. 1
      scripts/test.lua

@ -13,6 +13,8 @@ package("libpng")
add_deps("cmake") add_deps("cmake")
end end
add_links("png")
on_install("windows", function (package) on_install("windows", function (package)
import("package.tools.cmake").install(package) import("package.tools.cmake").install(package)
end) end)

@ -21,6 +21,7 @@ function main(...)
os.cd(workdir) os.cd(workdir)
os.exec("xmake create test") os.exec("xmake create test")
os.cd("test") os.cd("test")
print(os.curdir())
os.exec("xmake repo --add local-repo %s", repodir) os.exec("xmake repo --add local-repo %s", repodir)
os.exec("xmake repo -l") os.exec("xmake repo -l")
os.exec("xmake require -f -v -D -y %s", table.concat(packages, " ")) os.exec("xmake require -f -v -D -y %s", table.concat(packages, " "))

Loading…
Cancel
Save