Skip to content

Commit

Permalink
extensions/desktop: common/init: don't preload bindtextdomain for win…
Browse files Browse the repository at this point in the history
…e snaps

fixes what #3738 couldn't
  • Loading branch information
mmtrt committed Jan 23, 2024
1 parent bbf8ae0 commit dfe4cca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/desktop/common/init
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export SNAP_LAUNCHER_ARCH_TRIPLET="$ARCH"
if ! grep -qs "^\s*confinement:\s*classic\s*" "$SNAP/meta/snap.yaml"; then
if [ -f "$SNAP/lib/$ARCH/bindtextdomain.so" ]; then
export LD_PRELOAD="$LD_PRELOAD:$SNAP/\$LIB/bindtextdomain.so"
elif [ -f "$SNAP/gnome-platform/lib/$ARCH/bindtextdomain.so" ]; then
elif [ -f "$SNAP/gnome-platform/lib/$ARCH/bindtextdomain.so" ] && ! grep -qs "^\s*default-provider:\s*wine-platform-runtime*" "$SNAP/meta/snap.yaml"; then
export LD_PRELOAD="$LD_PRELOAD:$SNAP/gnome-platform/\$LIB/bindtextdomain.so"
fi
fi

0 comments on commit dfe4cca

Please sign in to comment.