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
|
|
@ -1,13 +1,10 @@
|
|||
package client
|
||||
|
||||
// #cgo linux LDFLAGS: -ltdjson_static -ltdjson_private -ltdclient -ltdcore -ltdactor -ltddb -ltdsqlite -ltdnet -ltdutils -lstdc++ -lssl -lcrypto -ldl -lz -lm
|
||||
// #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
|
||||
// #include <stdlib.h>
|
||||
// #include <td/telegram/td_json_client.h>
|
||||
// #include <td/telegram/td_log.h>
|
||||
/*
|
||||
#include <stdlib.h>
|
||||
#include <td/telegram/td_json_client.h>
|
||||
#include <td/telegram/td_log.h>
|
||||
*/
|
||||
import "C"
|
||||
|
||||
import (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue