From 63b571dfba53d1dc526e841d7ce99205cabff465 Mon Sep 17 00:00:00 2001 From: aph Date: Sat, 1 Feb 2014 17:17:59 +0000 Subject: [PATCH] fix build on OSX --- scripts/get-libuv.sh | 2 +- src/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/get-libuv.sh b/scripts/get-libuv.sh index e7001ef3a0..9f3eceb218 100644 --- a/scripts/get-libuv.sh +++ b/scripts/get-libuv.sh @@ -13,4 +13,4 @@ sh autogen.sh ./configure --prefix="$prefix" make make install -rm "$prefix/lib/"libuv*.so "$prefix/lib/"libuv*.so.* +rm "$prefix/lib/"libuv*.{so,dylib} "$prefix/lib/"libuv*.{so,dylib}.* || true diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 49c0ef42cb..1c7829e7d6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -14,7 +14,7 @@ file( GLOB IO_SOURCES io/*.c ) add_executable (vim ${NEOVIM_SOURCES} ${IO_SOURCES}) -target_link_libraries (vim m uv rt pthread) +target_link_libraries (vim m uv pthread) include(CheckLibraryExists) check_library_exists(termcap tgetent "" HAVE_LIBTERMCAP)