scripts: gha: build engine for Linux and Windows with FFmpeg linked in runtime by default, thus allowing for smaller distribution size for game developers

This commit is contained in:
Alibek Omarov
2025-07-13 04:34:12 +05:00
parent 7564e3c61f
commit 6e69e1d67b
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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