Browse Source

GHA CI: build libtorrent as a static library

Since appimage is bundling the libraries it make sense to embed libtorrent statically into qbt binary.
Another side effect is now qbt binary includes debug symbols from libtorrent too (which I consider a good thing for debugging). Previously appimage seems to (unnecessarily) strip the libtorrent debug symbols.

PR #19014.
adaptive-webui-19844
Chocobo1 1 year ago committed by GitHub
parent
commit
3fb4e4d293
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .github/workflows/ci_ubuntu.yaml

1
.github/workflows/ci_ubuntu.yaml

@ -60,6 +60,7 @@ jobs: @@ -60,6 +60,7 @@ jobs:
cmake \
-B build \
-G "Ninja" \
-DBUILD_SHARED_LIBS=OFF \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-Ddeprecated-functions=OFF

Loading…
Cancel
Save