aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--src/CMakeLists.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index aa5c6380e7..e51b826feb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,6 +8,8 @@ build/
*.swp
*~
*.pyc
+*.o
+*.so
src/po/vim.pot
src/po/*.ck
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index aa1100032a..359a9f5180 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -13,7 +13,7 @@ list(APPEND NEOVIM_SOURCES "${PROJECT_BINARY_DIR}/config/auto/pathdef.c")
file( GLOB OS_SOURCES os/*.c )
add_executable (nvim ${NEOVIM_SOURCES} ${OS_SOURCES})
-add_library (nvim-test SHARED ${NEOVIM_SOURCES} ${OS_SOURCES})
+add_library (nvim-test MODULE ${NEOVIM_SOURCES} ${OS_SOURCES})
# The libraries we link against for nvim
set(NVIM_LINK_LIBRARIES m ${LibUV_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})