We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaf886d commit 974498bCopy full SHA for 974498b
scripts.d/20_telegram_cli.sh
@@ -2,8 +2,11 @@
2
3
git clone https://github.com/vysheng/tg --recursive
4
cd tg || exit 1
5
-sed -i '116d' ./tgl/mtproto-utils.c
6
-sed -i '105d' ./tgl/mtproto-utils.c
+sed -i '107d' ./tgl/mtproto-utils.c
+sed -i '101d' ./tgl/mtproto-utils.c
7
+sed -i "s/\-rdynamic //" Makefile.in
8
+sed -i "s/\-fPIC //" Makefile.in
9
+sed -i "s/\-Werror //" Makefile.in
10
./configure
11
make || exit 1
12
cp ./bin/telegram-cli /mnt/img_root/usr/local/bin/telegram-cli
0 commit comments