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

Support libsocksd socks library for SOCKSSocket

This commit is contained in:
Justin McNally 2019-10-07 22:04:27 -05:00 committed by Kazuhiro NISHIYAMA
parent c56d8deaff
commit b800410387
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")
elsif have_library("socks", "Rconnect") || have_library("socksd", "Rconnect")
$defs << "-DSOCKS"
end
end