Debian Codegraph @

debian/patches/no-embed-libs.patch

raw
1 --- a/src/ruby/ext/grpc/extconf.rb
2 +++ b/src/ruby/ext/grpc/extconf.rb
3 @@ -70,10 +70,12 @@ end
4
5 # Don't embed on TruffleRuby (constant-time crypto is unsafe with Sulong, slow build times)
6 ENV['EMBED_OPENSSL'] = (RUBY_ENGINE != 'truffleruby').to_s
7 +ENV['EMBED_OPENSSL'] = 'false'
8 # Don't embed on TruffleRuby (the system zlib is already linked for the zlib C extension, slow build times)
9 ENV['EMBED_ZLIB'] = (RUBY_ENGINE != 'truffleruby').to_s
10 +ENV['EMBED_ZLIB'] = 'false'
11
12 -ENV['EMBED_CARES'] = 'true'
13 +ENV['EMBED_CARES'] = 'false'
14
15 ENV['ARCH_FLAGS'] = RbConfig::CONFIG['ARCH_FLAG']
16 if apple_toolchain && !cross_compiling