Skip to content

Commit

Permalink
Vita: Fix undefined reference to funlockfile in fmtlib
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghabry committed Jan 4, 2025
1 parent 9d47d69 commit 6c0e2f8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vita/2_build_toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ if [ ! -f .patches-applied ]; then
patch -Np1 < $SCRIPT_DIR/../shared/extra/lhasa.patch
)

# Fix fmt
(cd $FMT_DIR
# Fix undefined reference to funlockfile
perl -pi -e 's/define FMT_USE_FALLBACK_FILE 0/define FMT_USE_FALLBACK_FILE 1/' include/fmt/format-inl.h
)

# Fix icu build
patch -Np0 < $SCRIPT_DIR/icu-vita.patch

Expand Down

0 comments on commit 6c0e2f8

Please sign in to comment.