mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-20 18:33:20 +03:00
install ffmpeg lib with vcpkg (#8724)
* use vcpkg to install ffmpeg and build sdk from source, so no prebuild lib in hwcodec. * link ffmpeg in rustdesk directly, ffmpeg can be used as basic library. * for windows developers, `VCPKG_DEFAULT_HOST_TRIPLET` env need to be set to `x64-windows-static` during installation. Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
11
res/vcpkg/ffmpeg/0002-fix-msvc-link.patch
Normal file
11
res/vcpkg/ffmpeg/0002-fix-msvc-link.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
diff --git a/configure b/configure
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -6162,6 +6162,7 @@ EOF
|
||||
test -n "$extern_prefix" && append X86ASMFLAGS "-DPREFIX"
|
||||
case "$objformat" in
|
||||
elf*) enabled debug && append X86ASMFLAGS $x86asm_debug ;;
|
||||
+ win*) enabled debug && append X86ASMFLAGS "-g" ;;
|
||||
esac
|
||||
|
||||
enabled avx512 && check_x86asm avx512_external "vmovdqa32 [eax]{k1}{z}, zmm0"
|
||||
Reference in New Issue
Block a user