star9029 1 an în urmă
părinte
comite
28ea3b6fc4
1 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  1. 1 2
      packages/l/liba52/xmake.lua

+ 1 - 2
packages/l/liba52/xmake.lua

@@ -39,8 +39,7 @@ package("liba52")
     on_install(function (package)
         if is_subhost("msys") or (not is_host("windows"))then
             -- Generate config.h by autotools
-            local buildenvs = import("package.tools.autoconf").buildenvs(package)
-            os.vrunv("./configure", {}, {shell = true, envs = buildenvs})
+            import("package.tools.autoconf").configure(package)
         end
         os.cp(path.join(package:scriptdir(), "port", "xmake.lua"), "xmake.lua")
         import("package.tools.xmake").install(package, {tools = package:config("tools")})