initial commit
This commit is contained in:
commit
6358d0754b
34 changed files with 82616 additions and 0 deletions
12
client/tdjson_static.go
Normal file
12
client/tdjson_static.go
Normal file
|
@ -0,0 +1,12 @@
|
|||
// +build !libtdjson
|
||||
// +build linux darwin
|
||||
|
||||
package client
|
||||
|
||||
/*
|
||||
#cgo linux CFLAGS: -I/usr/local/include
|
||||
#cgo linux LDFLAGS: -L/usr/local/lib -ltdjson_static -ltdjson_private -ltdclient -ltdcore -ltdactor -ltdapi -ltddb -ltdsqlite -ltdnet -ltdutils -lstdc++ -lssl -lcrypto -ldl -lz -lm
|
||||
#cgo darwin CFLAGS: -I/usr/local/include
|
||||
#cgo darwin LDFLAGS: -L/usr/local/lib -ltdjson_static -ltdjson_private -ltdclient -ltdcore -ltdactor -ltdapi -ltddb -ltdsqlite -ltdnet -ltdutils -lstdc++ -lssl -lcrypto -ldl -lz -lm
|
||||
*/
|
||||
import "C"
|
Loading…
Add table
Add a link
Reference in a new issue