Sophie

Sophie

distrib > Mageia > cauldron > i586 > by-pkgid > 08afd1d53b190ac064dd38b23307ad4b > files > 3

ruby-grpc-1.16.0-1.mga7.src.rpm

--- grpc-1.16.0/src/ruby/ext/grpc/extconf.rb.orig	2018-11-07 10:18:47.421346628 +0000
+++ grpc-1.16.0/src/ruby/ext/grpc/extconf.rb	2018-11-07 10:24:28.951346628 +0000
@@ -73,21 +73,3 @@
 output = File.join('grpc', 'grpc_c')
 puts 'Generating Makefile for ' + output
 create_makefile(output)
-
-strip_tool = RbConfig::CONFIG['STRIP']
-strip_tool = 'strip -x' if RUBY_PLATFORM =~ /darwin/
-
-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