1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Prefer libsocksd over libsocks

This commit is contained in:
Justin McNally 2019-10-07 22:36:22 -05:00 committed by Kazuhiro NISHIYAMA
parent b800410387
commit 68e0bfcd4a
Notes: git 2019-11-01 18:40:20 +09:00

View file

@ -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