build tag

This commit is contained in:
Aleksandr Zelenin 2018-09-25 22:18:30 +03:00
parent 82b025b53e
commit 7e9b42db25
4 changed files with 34 additions and 8 deletions

9
client/tdjson_static.go Normal file
View file

@ -0,0 +1,9 @@
// +build !libtdjson
// +build linux
package client
/*
#cgo linux LDFLAGS: -ltdjson_static -ltdjson_private -ltdclient -ltdcore -ltdactor -ltddb -ltdsqlite -ltdnet -ltdutils -lstdc++ -lssl -lcrypto -ldl -lz -lm
*/
import "C"