diff --git a/NvimView/NvimView.xcodeproj/project.pbxproj b/NvimView/NvimView.xcodeproj/project.pbxproj index 2817de25..d84f4489 100644 --- a/NvimView/NvimView.xcodeproj/project.pbxproj +++ b/NvimView/NvimView.xcodeproj/project.pbxproj @@ -612,11 +612,15 @@ "-lutil", "$(PROJECT_DIR)/third-party/libintl/lib/libintl.a", "$(PROJECT_DIR)/neovim/.deps/usr/lib/libjemalloc.a", - "$(PROJECT_DIR)/neovim/.deps/usr/lib/liblua.a", + "$(PROJECT_DIR)/neovim/.deps/usr/lib/libluajit-5.1.a", "$(PROJECT_DIR)/neovim/.deps/usr/lib/libvterm.a", "$(PROJECT_DIR)/neovim/.deps/usr/lib/libuv.a", "$(PROJECT_DIR)/neovim/.deps/usr/lib/libmsgpackc.a", "$(PROJECT_DIR)/neovim/build/lib/libnvim.a", + "-image_base", + 100000000, + "-pagezero_size", + 10000, ); PRODUCT_NAME = "$(TARGET_NAME)"; }; @@ -646,11 +650,15 @@ "-lutil", "$(PROJECT_DIR)/third-party/libintl/lib/libintl.a", "$(PROJECT_DIR)/neovim/.deps/usr/lib/libjemalloc.a", - "$(PROJECT_DIR)/neovim/.deps/usr/lib/liblua.a", + "$(PROJECT_DIR)/neovim/.deps/usr/lib/libluajit-5.1.a", "$(PROJECT_DIR)/neovim/.deps/usr/lib/libvterm.a", "$(PROJECT_DIR)/neovim/.deps/usr/lib/libuv.a", "$(PROJECT_DIR)/neovim/.deps/usr/lib/libmsgpackc.a", "$(PROJECT_DIR)/neovim/build/lib/libnvim.a", + "-image_base", + 100000000, + "-pagezero_size", + 10000, ); PRODUCT_NAME = "$(TARGET_NAME)"; }; diff --git a/NvimView/local.mk b/NvimView/local.mk index df4a6314..940fb52f 100644 --- a/NvimView/local.mk +++ b/NvimView/local.mk @@ -1,6 +1,4 @@ DISABLE_TUI := DISABLE ENABLE_CUSTOM_UI := ENABLE -DEPS_CMAKE_FLAGS += -DUSE_BUNDLED_LUA=ON - CMAKE_BUILD_TYPE := Release diff --git a/bin/build_libnvim.sh b/bin/build_libnvim.sh index 5e7a63d9..e0c44edd 100755 --- a/bin/build_libnvim.sh +++ b/bin/build_libnvim.sh @@ -11,7 +11,7 @@ ln -sf ../local.mk . # 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" \ + CMAKE_EXTRA_FLAGS="-DGETTEXT_SOURCE=CUSTOM" \ libnvim echo "### Built libnvim"