From 4a1600b97494a289500dfb157ea65d01d9775de5 Mon Sep 17 00:00:00 2001 From: Karim Nahas Date: Thu, 23 Apr 2020 18:33:53 +0100 Subject: [PATCH] Added ltdapi (tdlib v1.6.0+ compatibility) --- tdlib.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tdlib.go b/tdlib.go index 2ef4efa..f9034d2 100644 --- a/tdlib.go +++ b/tdlib.go @@ -3,8 +3,8 @@ package tdlib //#cgo linux CFLAGS: -I/usr/local/include //#cgo darwin CFLAGS: -I/usr/local/include //#cgo windows CFLAGS: -IC:/src/td -IC:/src/td/build -//#cgo linux LDFLAGS: -L/usr/local/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 linux LDFLAGS: -L/usr/local/lib -ltdjson_static -ltdjson_private -ltdclient -ltdcore -ltdapi -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 -ltdapi -ltdactor -ltddb -ltdsqlite -ltdnet -ltdutils -lstdc++ -lssl -lcrypto -ldl -lz -lm //#cgo windows LDFLAGS: -LC:/src/td/build/Debug -ltdjson //#include //#include