mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 09:12:07 +00:00
get-libuv.sh: compile bundled libuv
Rename file to reflect new intent of script. Libuv is bundled into the third-party directory. Modify the script to compile but not fetch libuv.
This commit is contained in:
10
scripts/compile-libuv.sh
Normal file
10
scripts/compile-libuv.sh
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
. scripts/common.sh
|
||||||
|
|
||||||
|
uv_dir="third-party/libuv"
|
||||||
|
|
||||||
|
cd "$uv_dir"
|
||||||
|
sh autogen.sh
|
||||||
|
./configure --prefix="$prefix"
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
rm "$prefix/lib/"libuv*.{so,dylib} "$prefix/lib/"libuv*.{so,dylib}.* || true
|
@@ -1,16 +0,0 @@
|
|||||||
. scripts/common.sh
|
|
||||||
|
|
||||||
uv_repo=joyent/libuv
|
|
||||||
uv_ver=v0.11.19
|
|
||||||
uv_dir="$deps/uv-$uv_ver"
|
|
||||||
uv_sha1=5539d8e99e22b438cf4a412d4cec70ac6bb519fc
|
|
||||||
|
|
||||||
rm -rf "$uv_dir"
|
|
||||||
|
|
||||||
github_download "$uv_repo" "$uv_ver" "$uv_dir" "$uv_sha1"
|
|
||||||
cd "$uv_dir"
|
|
||||||
sh autogen.sh
|
|
||||||
./configure --prefix="$prefix"
|
|
||||||
make
|
|
||||||
make install
|
|
||||||
rm "$prefix/lib/"libuv*.{so,dylib} "$prefix/lib/"libuv*.{so,dylib}.* || true
|
|
Reference in New Issue
Block a user