aboutsummaryrefslogtreecommitdiff
path: root/compile
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2026-01-11 00:14:37 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2026-01-11 00:14:37 -0500
commitf2178942a2ee827393b4c7f338973430fc71262f (patch)
tree984fe85ea6054456f7a443af93d43ad16ed6280e /compile
parent468bc4cb95f738668cadeb77e0b79a197a6d1cf5 (diff)
parentf6c37dd7a57994e42b48151861d5de2a76195e61 (diff)
downloaddotfiles-f2178942a2ee827393b4c7f338973430fc71262f.tar.gz
dotfiles-f2178942a2ee827393b4c7f338973430fc71262f.tar.xz
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'compile')
-rwxr-xr-xcompile/nvim.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/compile/nvim.sh b/compile/nvim.sh
index be7903c..d1533fb 100755
--- a/compile/nvim.sh
+++ b/compile/nvim.sh
@@ -31,9 +31,18 @@ if ! [ -d "$nvimdir" ] ; then
git clone https://github.com/neovim/neovim "$nvimdir"
fi
+_extra_flags=''
+# Detectl musl libc and turn off LIBINTL
+for _f in /lib/ld-musl*so* ; do
+ if [ -e "$_f" ] ; then
+ _extra_flags="-DENABLE_LIBINTL=OFF"
+ break
+ fi
+done
+
cd "$nvimdir"
git clean -fdx .
rm -rf build || echo ""
-make CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$HOME/.local" -j"$nproc"
+make CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$HOME/.local $_extra_flags" -j"$nproc"
make install
cd -