From 8781a6d4f9d5840c7c9954706c972564bd40e76e Mon Sep 17 00:00:00 2001 From: forever2k38 Date: Tue, 13 Oct 2026 22:10:24 +0200 Subject: feat: copy build config instead of just makeopts --- src/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 9f9d676..331bd03 100644 --- a/src/main.c +++ b/src/main.c @@ -4,6 +4,7 @@ #include "repo.h" #include "log.h" +#include "lauxlib.h" #include "curl/curl.h" #include "stdio.h" #include "stdlib.h" @@ -25,7 +26,9 @@ int main(int argc, char *argv[]) { pow_config config = {0}; - pow_open_config(&config, args.cfg_path); + lua_State* L = luaL_newstate(); + + pow_open_config(L, &config, args.cfg_path); if (args.flags & POW_FLAG_QUERY) { pow_repo_check_package(&config, args.package); -- cgit v1.3