ruby-changes:58538
From: Justin <ko1@a...>
Date: Fri, 1 Nov 2019 18:40:13 +0900 (JST)
Subject: [ruby-changes:58538] 68e0bfcd4a (master): Prefer libsocksd over libsocks
https://git.ruby-lang.org/ruby.git/commit/?id=68e0bfcd4a From 68e0bfcd4a7add4140832f156a11f5aa3fbca41d Mon Sep 17 00:00:00 2001 From: Justin McNally <justin@c...> Date: Mon, 7 Oct 2019 22:36:22 -0500 Subject: Prefer libsocksd over libsocks diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb index c8913c3..1a67e00 100644 --- a/ext/socket/extconf.rb +++ b/ext/socket/extconf.rb @@ -648,7 +648,7 @@ EOS https://github.com/ruby/ruby/blob/trunk/ext/socket/extconf.rb#L648 if enable_config("socks", ENV["SOCKS_SERVER"]) if have_library("socks5", "SOCKSinit") $defs << "-DSOCKS5" << "-DSOCKS" - elsif have_library("socks", "Rconnect") || have_library("socksd", "Rconnect") + elsif have_library("socksd", "Rconnect") || have_library("socks", "Rconnect") $defs << "-DSOCKS" end end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/