diff options
author | Tom Stuart <tom.stuart@shopify.com> | 2021-03-24 09:32:15 +0000 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2021-03-31 18:05:08 +0900 |
commit | 5ab2625243ddb0aca03febcf61b792ebab4eb4e8 (patch) | |
tree | 01e239f574fb06c2efdfe899633b8051ad31b0d6 /builtin.c | |
parent | e2bf3659e184088d00d099a49e3263724f43ece2 (diff) |
[ruby/openssl] Fix OpenSSL::Engine build on Debian
On Debian 9 (“stretch”) the `OPENSSL_NO_STATIC_ENGINE` macro is not
defined, which causes all the `#if HAVE_ENGINE_LOAD_…` directives to
fail with `error: 'HAVE_ENGINE_LOAD_…' is not defined, evaluates to 0
[-Werror,-Wundef]` while building TruffleRuby.
We can accomplish the same thing with `#ifdef`, which (of course) works
fine when the `HAVE_ENGINE_LOAD…` macros are also undefined.
Upstreamed from oracle/truffleruby#2255, which fixed
oracle/truffleruby#2254.
https://github.com/ruby/openssl/commit/65e2adf1ac
Diffstat (limited to 'builtin.c')
0 files changed, 0 insertions, 0 deletions