summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin McNally <justin@chowlyinc.com>2019-10-07 22:36:22 -0500
committerKazuhiro NISHIYAMA <znz@users.noreply.github.com>2019-11-01 18:39:59 +0900
commit68e0bfcd4a7add4140832f156a11f5aa3fbca41d (patch)
tree4d33f818e83ca1a12074c9563bc9d34f7b9326d5
parentb8004103873f4e18bfaefea8e2f540f451c4ae68 (diff)
downloadruby-68e0bfcd4a7add4140832f156a11f5aa3fbca41d.tar.gz
Prefer libsocksd over libsocks
-rw-r--r--ext/socket/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb
index c8913c3f31..1a67e0013e 100644
--- a/ext/socket/extconf.rb
+++ b/ext/socket/extconf.rb
@@ -648,7 +648,7 @@ EOS
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