ruby: link ext/digest/* to openssl only when needed, fix rmd160 name
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>
Sat, 4 Oct 2014 20:51:56 +0000 (17:51 -0300)
committerLuiz Angelo Daros de Luca <luizluca@gmail.com>
Tue, 7 Oct 2014 17:14:53 +0000 (14:14 -0300)
commitcfcd564d9c78e85447b781fdaa5d4de5229efb2a
tree59bf51c46c4021d6189afa2c9c9d118c255cd05f
parent7fda1869e361196913518675a6421ff2ddae0ea3
ruby: link ext/digest/* to openssl only when needed, fix rmd160 name

ext/digest/rmd160 was referencing a function that never existed in openssl.
The name was simply mistyped. Now it can use openssl.

openssl was always linked to ext/digest when library is avaiable,
even when it was disable by configure option and not used by code.

upstream refs: https://bugs.ruby-lang.org/issues/10252
upstream refs: https://bugs.ruby-lang.org/issues/10324

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
lang/ruby/Makefile
lang/ruby/patches/003-digest_rmd160_wrong_name_fix.patch [new file with mode: 0644]
lang/ruby/patches/004-digest_dont-link-ssl-if-not-needed.patch [new file with mode: 0644]