mirror of
https://github.com/c0re100/gotdlib.git
synced 2026-02-21 20:20:17 +01:00
Added darwin support.
This commit is contained in:
parent
4a26afe3b0
commit
3493a51002
2 changed files with 6 additions and 2 deletions
|
|
@ -1,10 +1,12 @@
|
|||
// +build !libtdjson
|
||||
// +build linux
|
||||
// +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