Skip to content

Commit 4dfcba8

Browse files
committed
fix: find libmpv.so in multiarch install path
1 parent 760be76 commit 4dfcba8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,8 @@ jobs:
465465
- name: Copy libmpv into bundle
466466
run: |
467467
BUNDLE_LIB=build/linux/x64/release/bundle/lib
468-
cp -a libmpv-prefix/lib/libmpv.so* "$BUNDLE_LIB/"
468+
LIBMPV_DIR=$(dirname "$(find libmpv-prefix -name 'libmpv.so' | head -1)")
469+
cp -a "$LIBMPV_DIR"/libmpv.so* "$BUNDLE_LIB/"
469470
cp -a libmpv-prefix/lib/libshaderc_shared.so* "$BUNDLE_LIB/"
470471
471472
- name: Bundle shared libraries for portable tarball
@@ -582,7 +583,8 @@ jobs:
582583
- name: Copy libmpv into bundle
583584
run: |
584585
BUNDLE_LIB=${{ steps.find-bundle.outputs.bundle_dir }}/lib
585-
cp -a libmpv-prefix/lib/libmpv.so* "$BUNDLE_LIB/"
586+
LIBMPV_DIR=$(dirname "$(find libmpv-prefix -name 'libmpv.so' | head -1)")
587+
cp -a "$LIBMPV_DIR"/libmpv.so* "$BUNDLE_LIB/"
586588
cp -a libmpv-prefix/lib/libshaderc_shared.so* "$BUNDLE_LIB/"
587589
588590
- name: Bundle shared libraries for portable tarball

0 commit comments

Comments
 (0)