Build fixed?

This commit is contained in:
irungentoo 2013-07-12 16:35:45 -04:00
parent 79aa715514
commit e80ac120e1
2 changed files with 1 additions and 5 deletions

View File

@ -26,10 +26,6 @@
#include "Lossless_UDP.h"
//TODO: move this to network.h
#ifndef WIN32
#include "../nacl/build/Linux/include/amd64/crypto_box.h" //${HOSTNAME%.*} doesn't work... set env var later
#endif
//Our public key.
extern uint8_t self_public_key[crypto_box_PUBLICKEYBYTES];
extern uint8_t self_secret_key[crypto_box_SECRETKEYBYTES];

View File

@ -1,7 +1,7 @@
/* DHT test
* A file with a main that runs our DHT for testing.
*
* Compile with: gcc -O2 -Wall -o test ../core/network.c DHT_test.c
* Compile with: gcc -O2 -Wall -D VANILLA_NACL -o test ../core/Lossless_UDP.c ../core/network.c ../core/net_crypto.c ../core/Messenger.c ../nacl/build/${HOSTNAME%.*}/lib/amd64/* DHT_test.c
*
* Command line arguments are the ip, port and public key of a node.
* EX: ./test 127.0.0.1 33445 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA