mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
Get it to build from go build
This commit is contained in:
10
libi2pd/api.go
Normal file
10
libi2pd/api.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package api
|
||||
|
||||
/*
|
||||
//void Go_InitI2P (int argc, char argv[], const char * appName){
|
||||
|
||||
//}
|
||||
#cgo CPPFLAGS: -I${SRCDIR}/../i18n -I${SRCDIR}/../libi2pd_client -g -Wall -Wextra -Wno-unused-parameter -pedantic -Wno-psabi -fPIC -D__AES__ -maes
|
||||
#cgo LDFLAGS: -latomic -lcrypto -lssl -lz -lboost_system -lboost_date_time -lboost_filesystem -lboost_program_options -lpthread -lstdc++
|
||||
*/
|
||||
import "C"
|
||||
Reference in New Issue
Block a user