windows tags
This commit is contained in:
parent
7e9b42db25
commit
e4a9f57780
|
@ -1,11 +1,9 @@
|
||||||
// +build !linux
|
// +build darwin
|
||||||
|
|
||||||
package client
|
package client
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#cgo darwin CFLAGS: -I/usr/local/include
|
#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 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"
|
import "C"
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
// +build libtdjson
|
// +build libtdjson
|
||||||
// +build linux
|
// +build linux windows
|
||||||
|
|
||||||
package client
|
package client
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#cgo linux LDFLAGS: -ltdjson -lstdc++ -lssl -lcrypto -ldl -lz -lm
|
#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"
|
import "C"
|
||||||
|
|
Loading…
Reference in a new issue