diff options
Diffstat (limited to 'ext/openssl')
-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 |