diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-28 09:55:12 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-28 09:55:12 +0000 |
commit | 906ab8e25d2e074f3dfd5c49570a674f13a19a42 (patch) | |
tree | beb414eede513987a9ee284e9cda55afc3e53d6f /ext | |
parent | dea1baa169ca752a5bde28c88d96feb622a0787b (diff) | |
download | ruby-906ab8e25d2e074f3dfd5c49570a674f13a19a42.tar.gz |
* ext/openssl/extconf.rb: check again after pkg-config for MinGW on
Cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-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 fe4d2d6542..632f0dac47 100644 --- a/ext/openssl/extconf.rb +++ b/ext/openssl/extconf.rb @@ -79,7 +79,9 @@ if !result $CFLAGS += " " << `#{pkgconfig} --cflags openssl`.chomp $DLDFLAGS += " " << `#{pkgconfig} --libs-only-L openssl`.chomp $LIBS += " " << `#{pkgconfig} --libs-only-l openssl`.chomp - else + result = have_header("openssl/ssl.h") + end + if !result message "=== Checking for required stuff failed. ===\n" message "Makefile wasn't created. Fix the errors above.\n" exit 1 |