|
@@ -26,7 +26,7 @@ package("liba52")
|
|
add_syslinks("m")
|
|
add_syslinks("m")
|
|
end
|
|
end
|
|
|
|
|
|
- if not (is_plat("windows") or (is_plat("mingw") and is_subhost("msys"))) then
|
|
|
|
|
|
+ if is_subhost("msys") or (not is_plat("windows", "mingw")) then
|
|
add_deps("autoconf", "automake", "libtool", "m4")
|
|
add_deps("autoconf", "automake", "libtool", "m4")
|
|
end
|
|
end
|
|
|
|
|
|
@@ -37,7 +37,7 @@ package("liba52")
|
|
end)
|
|
end)
|
|
|
|
|
|
on_install(function (package)
|
|
on_install(function (package)
|
|
- if not (is_plat("windows") or (is_plat("mingw") and is_subhost("msys"))) then
|
|
|
|
|
|
+ if is_subhost("msys") or (not is_plat("windows", "mingw")) then
|
|
-- Generate config.h by autotools
|
|
-- Generate config.h by autotools
|
|
os.vrun("./configure")
|
|
os.vrun("./configure")
|
|
end
|
|
end
|