mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
26 lines
813 B
Diff
26 lines
813 B
Diff
--- a/src/ruby/ext/grpc/extconf.rb
|
|
+++ b/src/ruby/ext/grpc/extconf.rb
|
|
@@ -151,23 +151,6 @@
|
|
puts 'Generating Makefile for ' + output
|
|
create_makefile(output)
|
|
|
|
-strip_tool = RbConfig::CONFIG['STRIP']
|
|
-strip_tool += ' -x' if apple_toolchain
|
|
-
|
|
-if grpc_config == 'opt'
|
|
- File.open('Makefile.new', 'w') do |o|
|
|
- o.puts 'hijack: all strip'
|
|
- o.puts
|
|
- File.foreach('Makefile') do |i|
|
|
- o.puts i
|
|
- end
|
|
- o.puts
|
|
- o.puts 'strip: $(DLLIB)'
|
|
- o.puts "\t$(ECHO) Stripping $(DLLIB)"
|
|
- o.puts "\t$(Q) #{strip_tool} $(DLLIB)"
|
|
- end
|
|
- File.rename('Makefile.new', 'Makefile')
|
|
-end
|
|
if ENV['GRPC_RUBY_TEST_ONLY_WORKAROUND_MAKE_INSTALL_BUG']
|
|
# Note: this env var setting is intended to work around a problem observed
|
|
# with the ginstall command on grpc's macos automated test infrastructure,
|