Skip to content

Commit

Permalink
Prefer libsocksd over libsocks
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mcnally authored and znz committed Nov 1, 2019
1 parent b800410 commit 68e0bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/socket/extconf.rb
Expand Up @@ -648,7 +648,7 @@ def %(s) s || self end
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
Expand Down

0 comments on commit 68e0bfc

Please sign in to comment.