mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-11 21:47:52 +00:00
Also add the languages to the linker flags in the api.go file
This commit is contained in:
parent
d62d2ed269
commit
5d01ee9581
@ -10,8 +10,6 @@ package api
|
||||
|
||||
/*
|
||||
#cgo CXXFLAGS: -I${SRCDIR}/../i18n -I${SRCDIR}/../libi2pd_client -I${SRCDIR}/../libi2pd -g -Wall -Wextra -Wno-unused-parameter -pedantic -Wno-psabi -fPIC -D__AES__ -maes
|
||||
#cgo LDFLAGS: -L${SRCDIR}/../ -l:libi2pd.a -latomic -lcrypto -lssl -lz -lboost_system -lboost_date_time -lboost_filesystem -lboost_program_options -lpthread -lstdc++
|
||||
#cgo LDFLAGS: -L${SRCDIR}/../ -l:libi2pd.a -l:libi2pdlang.a -latomic -lcrypto -lssl -lz -lboost_system -lboost_date_time -lboost_filesystem -lboost_program_options -lpthread -lstdc++
|
||||
*/
|
||||
import "C"
|
||||
|
||||
// -D, -U, -I, and
|
@ -17,7 +17,7 @@ extern "C" {
|
||||
void C_InitI2P (int argc, char argv[], const char * appName);
|
||||
//void C_InitI2P (int argc, char** argv, const char * appName);
|
||||
void C_TerminateI2P ();
|
||||
void C_StartI2P (); //std::ostream *logStream = nullptr);
|
||||
void C_StartI2P ();
|
||||
// write system log to logStream, if not specified to <appName>.log in application's folder
|
||||
void C_StopI2P ();
|
||||
void C_RunPeerTest (); // should be called after UPnP
|
||||
|
Loading…
Reference in New Issue
Block a user