Index: ext/digest/md5/extconf.rb =================================================================== --- ext/digest/md5/extconf.rb (revision 27218) +++ ext/digest/md5/extconf.rb (working copy) @@ -13,6 +13,7 @@ if !with_config("bundled-md5") && have_library("crypto") && have_header("openssl/md5.h") $objs << "md5ossl.#{$OBJEXT}" + $objs << "md5.#{$OBJEXT}" else $objs << "md5.#{$OBJEXT}" Index: ext/digest/rmd160/extconf.rb =================================================================== --- ext/digest/rmd160/extconf.rb (revision 27218) +++ ext/digest/rmd160/extconf.rb (working copy) @@ -13,6 +13,7 @@ if !with_config("bundled-rmd160") && have_library("crypto") && have_header("openssl/ripemd.h") $objs << "rmd160ossl.#{$OBJEXT}" + $objs << "rmd160.#{$OBJEXT}" else $objs << "rmd160.#{$OBJEXT}" end Index: ext/digest/sha1/extconf.rb =================================================================== --- ext/digest/sha1/extconf.rb (revision 27218) +++ ext/digest/sha1/extconf.rb (working copy) @@ -13,6 +13,7 @@ if !with_config("bundled-sha1") && have_library("crypto") && have_header("openssl/sha.h") $objs << "sha1ossl.#{$OBJEXT}" + $objs << "sha1.#{$OBJEXT}" else $objs << "sha1.#{$OBJEXT}" end Index: ext/digest/sha2/extconf.rb =================================================================== --- ext/digest/sha2/extconf.rb (revision 27218) +++ ext/digest/sha2/extconf.rb (working copy) @@ -14,6 +14,7 @@ have_library("crypto") && %w[SHA256 SHA512].all? {|d| have_func("#{d}_Transform", "openssl/sha.h")} $objs << "sha2ossl.#{$OBJEXT}" + $objs << "sha2.#{$OBJEXT}" $defs << "-DSHA2_USE_OPENSSL" else have_type("u_int8_t")