Actions
Bug #10324
closed[PATCH] do not link openssl to ext/digest/xxx when using --with-bundled-xxx
Description
Hello,
Ruby uses bundled digest implemetation when openssl is not avaiable. I also can select them using
configure option --with-bundled-xxx. However, even using it, openssl is still linked to ext/digest//.so
In extconf.rb, dir_config and pkg_config are called before the with_config is tested.
So, dir_config or pkg_config (sorry for my ignorance) adds openssl to be linked.
This patch tests for with-bundled before checking/selecting openssl.
It depends on the patch from bug #10252
As I'm no extconf expert, maybe there is a much better way to achieve the same result.
Files
Actions
Like0
Like0