mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-09-14 16:31:03 +03:00
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:
4
.github/workflows/flutter-build.yml
vendored
4
.github/workflows/flutter-build.yml
vendored
@@ -1736,7 +1736,9 @@ jobs:
|
|||||||
# empty by the time build.py runs), so build.py picks up this prebuilt
|
# empty by the time build.py runs), so build.py picks up this prebuilt
|
||||||
# .so via DRMTAP_PREBUILT_DIR instead of rebuilding from source.
|
# .so via DRMTAP_PREBUILT_DIR instead of rebuilding from source.
|
||||||
meson setup third_party/libdrmtap/build-pkg third_party/libdrmtap --buildtype=release
|
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"
|
mkdir -p "$PWD/prebuilt-libdrmtap"
|
||||||
find third_party/libdrmtap/build-pkg -maxdepth 1 -name 'libdrmtap.so.0.*' -type f \
|
find third_party/libdrmtap/build-pkg -maxdepth 1 -name 'libdrmtap.so.0.*' -type f \
|
||||||
-exec cp -a {} "$PWD/prebuilt-libdrmtap/" \;
|
-exec cp -a {} "$PWD/prebuilt-libdrmtap/" \;
|
||||||
|
|||||||
Reference in New Issue
Block a user