Marcus Rueckert
792dddb2cf
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-eventmachine?expand=0&rev=3
28 lines
1.0 KiB
Diff
28 lines
1.0 KiB
Diff
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
|