mirror of
https://github.com/c0re100/gotdlib.git
synced 2026-02-21 20:20:17 +01:00
build tag
This commit is contained in:
parent
82b025b53e
commit
7e9b42db25
4 changed files with 34 additions and 8 deletions
11
client/tdjson.go
Normal file
11
client/tdjson.go
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
// +build !linux
|
||||
|
||||
package client
|
||||
|
||||
/*
|
||||
#cgo darwin CFLAGS: -I/usr/local/include
|
||||
#cgo windows CFLAGS: -IC:/src/td -IC:/src/td/build
|
||||
#cgo darwin LDFLAGS: -L/usr/local/lib -L/usr/local/opt/openssl/lib -ltdjson_static -ltdjson_private -ltdclient -ltdcore -ltdactor -ltddb -ltdsqlite -ltdnet -ltdutils -lstdc++ -lssl -lcrypto -ldl -lz -lm
|
||||
#cgo windows LDFLAGS: -LC:/src/td/build/Debug -ltdjson
|
||||
*/
|
||||
import "C"
|
||||
Loading…
Add table
Add a link
Reference in a new issue