Open matzeri opened 4 years ago
I can't for the life of me get libtorrent to link (in Cygwin) on master. It complains about a multiple definition.
This one IIRC, in src/torrent/net/socket_address.h: inline bool sap_is_broadcast(const sa_unique_ptr& sap) { return sa_is_broadcast(sap.get()); }
Hm, looking at it now, that's a pretty recent addition.
I fixed an issue with linking the tests a couple months ago, the OP's issue should be fixed.
Cygwin 64bit with gcc 9.2
On test\Makefile.am there are an excess of libraries causing link to fail as multiple definitions are not permitted
the correct form should be just
as the shared library includes already all the other block of codes.