vault backup: 2026-11-07 16:33:44

This commit is contained in:
cheney
2026-11-07 16:33:55 +08:00
commit 7015312702
1208 changed files with 132432 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
如果二进制文件是动态链接的,可以用 [`staticx`](https://github.com/JonathonReinhart/staticx) 将其转为静态:
bash
复制
下载
# 安装 staticx
pip install staticx patchelf
# 封装二进制文件
staticx ./my-app ./my-app-static
# 验证
ldd ./my-app-static # 应输出 "not a dynamic executable"