windows tags

This commit is contained in:
Aleksandr Zelenin 2018-09-27 03:36:25 +03:00
parent 7e9b42db25
commit e4a9f57780
2 changed files with 4 additions and 4 deletions

View file

@ -1,11 +1,9 @@
// +build !linux
// +build darwin
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"

View file

@ -1,9 +1,11 @@
// +build libtdjson
// +build linux
// +build linux windows
package client
/*
#cgo linux LDFLAGS: -ltdjson -lstdc++ -lssl -lcrypto -ldl -lz -lm
#cgo windows CFLAGS: -Ic:/td -Ic:/td/example/csharp/build
#cgo windows LDFLAGS: -Lc:/td/example/csharp/build/Release -ltdjson
*/
import "C"