File rubygem-eventmachine-0.12.0_fix_build.patch of Package rubygem-eventmachine

Index: ext/extconf.rb
===================================================================
--- ext/extconf.rb	(revision 770)
+++ ext/extconf.rb	(working copy)
@@ -142,7 +142,6 @@
 	  flags << "-DHAVE_TBR"
   end
 
-  dir_config('ssl', "#{ENV['OPENSSL']}/include", ENV['OPENSSL'])
   # Check for libcrypto twice, before and after ssl. That's because on some platforms
   # and openssl versions, libssl will emit unresolved externals from crypto. It
   # would be cleaner to simply check crypto first, but that doesn't always work in 
@@ -159,14 +158,6 @@
   end
   # on Unix we need a g++ link, not gcc.
   CONFIG['LDSHARED'] = "$(CXX) -shared"
-
-  # Modify the mkmf constant LINK_SO so the generated shared object is stripped.
-  # You might think modifying CONFIG['LINK_SO'] would be a better way to do this,
-  # but it doesn't work because mkmf doesn't look at CONFIG['LINK_SO'] again after
-  # it initializes.
-  linkso = Object.send :remove_const, "LINK_SO"
-  LINK_SO = linkso + "; strip $@"
-
 else
   unless have_library('pthread')
 	  exit
openSUSE Build Service is sponsored by