From 6e69e1d67b7a70ba9642072bb9fc0ef62fc7c934 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 13 Jul 2025 04:34:12 +0500 Subject: [PATCH] scripts: gha: build engine for Linux and Windows with FFmpeg linked in runtime by default, thus allowing for smaller distribution size for game developers --- scripts/gha/build_linux.sh | 2 +- scripts/gha/build_win32.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/gha/build_linux.sh b/scripts/gha/build_linux.sh index 0836c441..000dff14 100755 --- a/scripts/gha/build_linux.sh +++ b/scripts/gha/build_linux.sh @@ -63,7 +63,7 @@ build_engine() fi if [ -d "ffmpeg" ]; then - WAF_EXTRA_ARGS+=" --enable-ffmpeg" + WAF_EXTRA_ARGS+=" --enable-ffmpeg --enable-ffmpeg-dlopen" fi if [ "$GH_CROSSCOMPILING" != "true" ]; then diff --git a/scripts/gha/build_win32.sh b/scripts/gha/build_win32.sh index 64bf980d..fd380a67 100755 --- a/scripts/gha/build_win32.sh +++ b/scripts/gha/build_win32.sh @@ -14,7 +14,7 @@ fi if [ -d "ffmpeg" ]; then export PKGCONFIG="$PWD/pkgconf/bin/pkgconf.exe" export PKG_CONFIG_PATH="$PWD/ffmpeg/lib/pkgconfig" - WAF_EXTRA_ARGS+=" --enable-ffmpeg" + WAF_EXTRA_ARGS+=" --enable-ffmpeg --enable-ffmpeg-dlopen" fi # NOTE: to build with other version use --msvc_version during configuration