xmake-repo icon indicating copy to clipboard operation
xmake-repo copied to clipboard

openssl linux 版本希望可以配置只编译静态库, 不编译动态库

Open walletiger opened this issue 3 years ago • 3 comments

看了下 repo 库里的 xmake.lua linux 下没有选项可以打开 no-shared

walletiger avatar Nov 19 '21 06:11 walletiger

你可以开个pr 判断package:config("shared") 帮忙加一下

waruqi avatar Nov 19 '21 06:11 waruqi

我试下, 没玩过 github的 pr 

------------------ 原始邮件 ------------------ 发件人: "xmake-io/xmake-repo" @.>; 发送时间: 2021年11月19日(星期五) 下午2:06 @.>; @.@.>; 主题: Re: [xmake-io/xmake-repo] openssl linux 版本希望可以配置只编译静态库, 不编译动态库 (Issue #700)

你可以开个pr 判断package:config("shared") 帮忙加一下

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

walletiger avatar Nov 19 '21 06:11 walletiger

我也有这个需求,尝试了下在 ubuntu 22 下把 openssl 静态链接进去,但是会告警,说在静态程序里用了一些依赖动态库的函数。 如果希望静态链接进去的话还是得用 musl ,windows的话用 wsl alpine 静态链接就没问题了。

heheda123123 avatar Sep 19 '22 05:09 heheda123123