improve libxml2

pull/49/head
ruki 5 years ago
parent 5448ae352e
commit 95f3d0eac6
No known key found for this signature in database
GPG Key ID: 809EF06AD42725BD
  1. 13
      packages/l/libxml2/xmake.lua

@ -23,14 +23,11 @@ package("libxml2")
end
end)
if is_plat("windows") and winos.version():gt("winxp") then
on_install("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")
os.vrun("nmake /f Makefile.msvc install")
end)
end
on_install("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())
import("package.tools.nmake").install(package, {"/f", "Makefile.msvc"})
end)
on_install("macosx", "linux", "iphoneos", "android", function (package)
local configs = {"--disable-dependency-tracking",

Loading…
Cancel
Save