go-tdlib/client/tdjson_dynamic.go

16 lines
512 B
Go
Raw Normal View History

2022-04-18 22:45:01 +02:00
//go:build libtdjson && (linux || darwin || windows)
2021-10-22 16:24:12 +02:00
// +build libtdjson
// +build linux darwin windows
package client
/*
#cgo linux CFLAGS: -I/usr/local/include
#cgo linux LDFLAGS: -L/usr/local/lib -ltdjson -lstdc++ -lssl -lcrypto -ldl -lz -lm
#cgo darwin CFLAGS: -I/usr/local/include
#cgo darwin LDFLAGS: -L/usr/local/lib -ltdjson -lstdc++ -lssl -lcrypto -ldl -lz -lm
#cgo windows CFLAGS: -Ic:/td -Ic:/td/example/csharp/build
#cgo windows LDFLAGS: -Lc:/td/example/csharp/build/Release -ltdjson
*/
import "C"