msvc libarchive 同时存在 archive 和 archive_static.lib,默认为static,但是编译后还是需要 archive.dll #3931
-
Beta Was this translation helpful? Give feedback.
Answered by
waruqi
Jul 7, 2023
Replies: 2 comments 9 replies
-
这种一般是包没做好,内部 on_install 逻辑没区分 static/shared 。。同时安装了。。你可以提 pr 改进这个包,通过 package:config("shared") 区分下 static/shared 。。分别独立安装,就没事了。。可以参考其他的包配置 |
Beta Was this translation helpful? Give feedback.
0 replies
-
我看这个包有做区分,但是应该是这里没生效。。具体你得分析下这个包的 cmakelists.txt 配置。看下为什么没生效,然后提个 pr 过来改进下 |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
要根据
if package:is_plat("windows") and not package:config("shared") then
仅对 window static 添加