Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main static built #479

Merged
merged 9 commits into from
May 14, 2023
Merged

Main static built #479

merged 9 commits into from
May 14, 2023

Conversation

viest
Copy link
Owner

@viest viest commented May 13, 2023

No description provided.

@jingjingxyk
Copy link

jingjingxyk commented May 14, 2023

推荐 换成 --with-md5 由 openssl 提供的 md5 功能

我是从这里 ./ext_skel.php --ext $extension_name 生成的 config.m4 文件里 描述信息看到的,使用外部库 推荐使用 with

@viest
Copy link
Owner Author

viest commented May 14, 2023

推荐 换成 --with-md5 由 openssl 提供的 md5 功能

我是从这里 ./ext_skel.php --ext $extension_name 生成的 config.m4 文件里 描述信息看到的,使用外部库 推荐使用 with

--with-openssl-md5 使用Openssl MD5
--with-bundled-md5 使用内置MD5

@viest viest merged commit e7a4ada into dev May 14, 2023
@viest viest deleted the main_static_built branch May 14, 2023 06:51
@netyum
Copy link

netyum commented May 14, 2023

加这几个选项有点繁琐吧,即使不加with,根据libxlswriter代码,如果有openssl就使用openssl的吧,没有才使用内建吧,觉得应该尽量简化配置

@jingjingxyk
Copy link

jingjingxyk commented May 14, 2023

@viest
Copy link
Owner Author

viest commented May 14, 2023

加这几个选项有点繁琐吧,即使不加with,根据libxlswriter代码,如果有openssl就使用openssl的吧,没有才使用内建吧,觉得应该尽量简化配置

变更为 --with-openssl

@viest
Copy link
Owner Author

viest commented May 14, 2023

@netyum 我改了下 xlswriter 把参数 换成: --with-openssl_dir= 编译结果看着这里: https://github.com/swoole/swoole-cli/actions/runs/4972040711 https://github.com/swoole/swoole-cli/actions/runs/4972040712 https://github.com/swoole/swoole-cli/actions/runs/4972040713

变更为 --with-openssl,close #482

@netyum
Copy link

netyum commented May 14, 2023

加选项就排默认,不加就默认,完美,要不正常编译扩展搞的麻烦

@jingjingxyk
Copy link

jingjingxyk commented May 14, 2023

需要传入的是 openssl 自定义安装目录。觉个例子:openssl 自定义安装目录是: /opt/openssl ,那么就出现找不到外部的openssl

@viest
Copy link
Owner Author

viest commented May 14, 2023

需要传入的是 openssl 自定义安装目录。觉个例子:openssl 自定义安装目录是: /opt/openssl ,那么就出现找不到外部的openssl

--with-openssl=/opt/openssl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants