ci: build the libdrmtap shared_library target explicitly

the CI .so-prebuild step used the same bare 'drmtap' meson target that is
ambiguous since libdrmtap became both_libraries (0.4.11); ask for
drmtap:shared_library, matching build.py.
This commit is contained in:
Mariano Abad
2026-07-21 04:02:14 -03:00
parent 0cd544061e
commit b18407ebd1

View File

@@ -1736,7 +1736,9 @@ jobs:
# empty by the time build.py runs), so build.py picks up this prebuilt
# .so via DRMTAP_PREBUILT_DIR instead of rebuilding from source.
meson setup third_party/libdrmtap/build-pkg third_party/libdrmtap --buildtype=release
meson compile -C third_party/libdrmtap/build-pkg drmtap
# Explicit shared_library target: libdrmtap is `both_libraries` since 0.4.11, so the
# bare `drmtap` target is ambiguous (shared vs static). rustdesk dlopens the .so only.
meson compile -C third_party/libdrmtap/build-pkg drmtap:shared_library
mkdir -p "$PWD/prebuilt-libdrmtap"
find third_party/libdrmtap/build-pkg -maxdepth 1 -name 'libdrmtap.so.0.*' -type f \
-exec cp -a {} "$PWD/prebuilt-libdrmtap/" \;