1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-18 03:01:38 +03:00
vimr/bin/build_libnvim.sh
2017-12-08 13:24:59 +01:00

18 lines
461 B
Bash
Executable File

#!/bin/bash
set -e
echo "### Building libnvim"
ln -sf ../local.mk .
# We assume that we're already in the neovim project root.
# Use custom gettext source only when building libnvim => not in local.mk which is also used to build the full nvim
# to get the full runtime.
make CFLAGS='-mmacosx-version-min=10.10' \
MACOSX_DEPLOYMENT_TARGET=10.10 \
CMAKE_EXTRA_FLAGS="-DGETTEXT_SOURCE=CUSTOM -DPREFER_LUA=ON" \
libnvim
echo "### Built libnvim"