Bladeren bron

Update new.lua

ruki 3 jaren geleden
bovenliggende
commit
cf6336541c
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1 0
      scripts/new.lua

+ 1 - 0
scripts/new.lua

@@ -137,6 +137,7 @@ function _generate_package_from_github(reponame)
         file:print('        if package:is_plat("linux") and package:config("pic") ~= false then')
         file:print('            table.insert(configs, "--with-pic")')
         file:print('        end')
+        file:print('        import("package.tools.autoconf").install(package, configs)')
     elseif has_meson then
         file:print('        table.insert(configs, "-Ddefault_library=" .. (package:config("shared") and "shared" or "static"))')
         file:print('        import("package.tools.meson").install(package, configs)')