add libxml2

pull/3/head
ruki 6 years ago
parent 6079d48aa3
commit c0f6fc959b
  1. 5
      packages/l/libxml2/xmake.lua

@ -9,9 +9,14 @@ package("libxml2")
add_versions("v2.9.7", "31dd4c0e10fa625b47e27fd6a5295d246c883f214da947b9a4a9e13733905ed9")
on_build("windows", function (package)
os.cd("win32")
os.vrun("cscript configure.js iso8859x=yes iconv=no compiler=msvc cruntime=/MT debug=%s prefix=\"%s\"", package:debug() and "yes" or "no", package:installdir())
os.vrun("nmake /f Makefile.msvc")
end)
on_install("windows", function (package)
os.cd("win32")
os.vrun("nmake /f Makefile.msvc install")
end)
on_build("macosx", "linux", function (package)

Loading…
Cancel
Save