dropped check libc for flatpak

This commit is contained in:
Mikhail Tergoev
2025-07-25 13:27:35 +03:00
parent e2f1476d90
commit e9a13ae5d8

View File

@ -5469,7 +5469,10 @@ gui_edit_db () {
esac
[[ ! -e "/dev/ntsync" ]] && DISABLE_EDIT_DB_LIST+=" PW_USE_NTSYNC"
if [[ $(ldd --version | head -n 1 | awk '{print $4}') < 2.38 ]] ; then
if ! check_flatpak \
&& [[ $(ldd --version | head -n 1 | awk '{print $4}') < 2.38 ]]
then
DISABLE_EDIT_DB_LIST+=" PW_USE_LS_FRAME_GEN"
export PW_USE_LS_FRAME_GEN="0"
PW_USE_LS_FRAME_GEN_INFO=${translations[GLIBC version 2.38+ is required for use Lossless Scaling frame generation]}