|
|
|
@ -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", |
|
|
|
|