feat: add package nghttp2

Signed-off-by: sisungo <[email protected]>
This commit is contained in:
2026-06-13 18:16:40 +08:00
parent a24cf0b528
commit 187e56dfef
3 changed files with 35 additions and 0 deletions
+6
View File
@@ -1,3 +1,4 @@
import lib.arch as arch
from lib.cpp import *
from lib.make import *
@@ -14,8 +15,13 @@ def build():
on_build(build)
def musl_target():
return arch.get_target().split("-")[0]
package("semi-libc")
use_auto_pack(["lib"])
link("lib/libc.so", f"/lib/ld-musl-{musl_target()}.so.1")
package("semi-libc-dev")
use_auto_pack(["dev"])