2018-09-25 19:18:30 +00:00
|
|
|
// +build libtdjson
|
2018-09-27 00:36:25 +00:00
|
|
|
// +build linux windows
|
2018-09-25 19:18:30 +00:00
|
|
|
|
|
|
|
package client
|
|
|
|
|
|
|
|
/*
|
2019-09-10 15:31:49 +00:00
|
|
|
#cgo linux CFLAGS: -I/usr/local/include
|
|
|
|
#cgo linux LDFLAGS: -L/usr/local/lib -ltdjson -lstdc++ -lssl -lcrypto -ldl -lz -lm
|
2018-09-27 00:36:25 +00:00
|
|
|
#cgo windows CFLAGS: -Ic:/td -Ic:/td/example/csharp/build
|
|
|
|
#cgo windows LDFLAGS: -Lc:/td/example/csharp/build/Release -ltdjson
|
2018-09-25 19:18:30 +00:00
|
|
|
*/
|
|
|
|
import "C"
|