Improve compilation with dante socks5 support by looking for "-lsocksd"
Jonher937 opened this issue · comments
Hi, I recently attempted to compile lftp on Ubuntu focal with socks5 support via dante library.
Ubuntu provides libdsocksd0
that installs:
/usr/lib/x86_64-linux-gnu/libdsocksd.so.0
/usr/lib/x86_64-linux-gnu/libdsocksd.so.0.0.0
If you attempt to run ./configure --with-socksdante
if will fail as it's trying to -lsocks
and not -lsocksd
.
Line 205 in 285c61c
If however I compile dante manually and do a make install
on dante it will install the libs into /usr/local/lib
with libsocks
as the name and will then successfully compile.
Could this be improved so that -lsocksd
is also acceptable when --with-socksdante
is used?