diff options
author | nobu <nobu@ruby-lang.org> | 2013-10-28 06:32:24 +0000 |
---|---|---|
committer | nobu <nobu@ruby-lang.org> | 2013-10-28 06:32:24 +0000 |
commit | 2247b7350f1509eac638ffa6eabfcd31277b811e (patch) | |
tree | 17afd1ee926c3e01482d54131931d28f1f852e46 /ext/openssl/extconf.rb | |
parent | 700f80b9d8114171eb9f07cd5b1661ff2959d03f (diff) | |
download | ruby-openssl-history-2247b7350f1509eac638ffa6eabfcd31277b811e.tar.gz |
openssl: work around of dependency
* ext/openssl/depend (ossl.o): work around of dependency of
thread_native.h, which depends on headers by THREAD_MODEL.
[ruby-dev:47777]
* ext/openssl/extconf.rb: need THREAD_MODEL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/extconf.rb')
-rw-r--r-- | ext/openssl/extconf.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb index 986ee16..e272cba 100644 --- a/ext/openssl/extconf.rb +++ b/ext/openssl/extconf.rb @@ -154,5 +154,7 @@ have_macro("EVP_CTRL_GCM_GET_TAG", ['openssl/evp.h']) && $defs.push("-DHAVE_AUTH Logging::message "=== Checking done. ===\n" create_header -create_makefile("openssl") +create_makefile("openssl") {|conf| + conf << "THREAD_MODEL = #{CONFIG["THREAD_MODEL"]}\n" +} Logging::message "Done.\n" |