neovim/scripts/compile-libuv.sh
John Szakmeister ba7e4f0c0c Compile libuv with -fPIC.
This is needed so that th unit tests library compiles on 64-bit machines
correctly.
2014-02-27 18:50:06 -03:00

11 lines
213 B
Bash

. scripts/common.sh
uv_dir="third-party/libuv"
cd "$uv_dir"
sh autogen.sh
./configure --prefix="$prefix" --with-pic
make
make install
rm "$prefix/lib/"libuv*.{so,dylib} "$prefix/lib/"libuv*.{so,dylib}.* || true