On Thu, Nov 18, 2010 at 08:51:07PM +0100, Dario Niedermann wrote:
> Can the torrent client in recent versions of lftp be disabled at compile
> time, in order to get a smaller binary?

Sure, configure --with-modules, then the torrent module will be separate
and can be removed.

   text    data     bss     dec     hex filename
  29325    1212     288   30825    7869 proto-fish.so
  60646    3212   19028   82886   143c6 cmd-sleep.so
  71224    2820       8   74052   12144 proto-sftp.so
  71696    3640   19060   94396   170bc proto-file.so
  75854    2364     300   78518   132b6 proto-http.so
  85589    2568     140   88297   158e9 cmd-torrent.so
  88818    4176   19060  112054   1b5b6 cmd-mirror.so
 121123    2628     324  124075   1e4ab proto-ftp.so

Choose what you want to omit. Are those 88 Kb worth it?

-- 
   Alexander.

Reply via email to