Skip to content

Commit

Permalink
fix(tdlib): build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AliMD committed Aug 28, 2022
1 parent e0ac726 commit 861b70f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/container/tdlib/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ RUN set -ex; \
zlib-dev \
zlib-static \
linux-headers; \
curl -sSLo tdlib.tar.gz https://github.com/tdlib/td/archive/refs/tags/v${TDLIB_VERSION}.tar.gz; \
mkdir /tmp/td/ && cd /tmp/td/; \
curl -sSLo tdlib.tar.gz https://github.com/tdlib/td/archive/refs/tags/v${TDLIB_VERSION}.tar.gz; \
tar -xzvf tdlib.tar.gz && cd td-${TDLIB_VERSION}; \
mkdir build && cd build; \
cmake -DCMAKE_BUILD_TYPE=Release ..; \
cmake -DCMAKE_BUILD_TYPE=Release -DTD_ENABLE_LTO=ON ..; \
ls -lAhFtr; \
cmake --build .; \
cmake --build . --target install -j 4; \
ls -lAhFtr; \
make install; \
ls -lAhFtr /usr/local/lib/; \
Expand Down

0 comments on commit 861b70f

Please sign in to comment.