diff options
| author | Ameer J <52414509+ameerj@users.noreply.github.com> | 2021-02-08 21:13:10 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-08 21:13:10 -0500 |
| commit | 26669d9e134d2f5ce0ff75b23af5719b6521c68b (patch) | |
| tree | 94fd14bc2646bb1215006483999970cb04d2a7e3 /.ci/scripts | |
| parent | 1b730827ddf7442aadbc2a481c439b90d70ca19e (diff) | |
| parent | 1a2e7c4dbd41171acf5e9408e7228c116f0c3b9f (diff) | |
Merge pull request #5880 from lat9nq/ffmpeg-external
cmake: FFmpeg linking rework
Diffstat (limited to '.ci/scripts')
| -rwxr-xr-x | .ci/scripts/windows/docker.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.ci/scripts/windows/docker.sh b/.ci/scripts/windows/docker.sh index 2bc9f36ab..192a01fd8 100755 --- a/.ci/scripts/windows/docker.sh +++ b/.ci/scripts/windows/docker.sh @@ -42,3 +42,8 @@ done pip3 install pefile python3 .ci/scripts/windows/scan_dll.py package/*.exe "package/" python3 .ci/scripts/windows/scan_dll.py package/imageformats/*.dll "package/" + +# copy FFmpeg libraries +EXTERNALS_PATH="$(pwd)/build/externals" +FFMPEG_DLL_PATH="$(find ${EXTERNALS_PATH} -maxdepth 1 -type d | grep ffmpeg)/bin" +find ${FFMPEG_DLL_PATH} -type f -regex ".*\.dll" -exec cp -v {} package/ ';' |
