export ed25519 functions from libtorrent. fix tools/dht_put build when dht is disabled. fix shared linking in tools Jamfile

This commit is contained in:
Arvid Norberg
2014-03-06 09:45:16 +00:00
parent 7b706b988b
commit cff82fa319
4 changed files with 37 additions and 33 deletions

View File

@@ -43,6 +43,16 @@ POSSIBILITY OF SUCH DAMAGE.
using namespace libtorrent;
#ifdef TORRENT_DISABLE_DHT
int main(int argc, char* argv[])
{
fprintf(stderr, "not built with DHT support\n");
return 1;
}
#else
void usage()
{
fprintf(stderr,
@@ -313,3 +323,5 @@ int main(int argc, char* argv[])
fclose(f);
}
#endif