From b18407ebd133b66c69079f2b03fe51e5539c05b0 Mon Sep 17 00:00:00 2001 From: Mariano Abad Date: Tue, 21 Jul 2026 04:02:14 -0300 Subject: [PATCH] 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. --- .github/workflows/flutter-build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/flutter-build.yml b/.github/workflows/flutter-build.yml index b8ec1061e..2b5623da9 100644 --- a/.github/workflows/flutter-build.yml +++ b/.github/workflows/flutter-build.yml @@ -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/" \;