Skip to content

Link to more system libraries

Eric Long requested to merge hack3ric/neovide:link-system-lib into main

Fixes #1 (closed)

Sorry for the late MR. Now that rust-skia changes have been upstream long ago, the patch is reduced to just a few extra dependencies and build-time envvars.

The upstream Skia PR does not matter (at least for x86_64), since it is for fixing Google's build script behaviour that it fetches prebuilt GN even when system GN is specified, resulting in an extra step of download (for architectures like RISC-V that Google does not provide prebuilts for, this leads to straight build failure). The build will still use system build tools and will not affect reproducibility.

Binary size reduced quite a lot:

$ ls -lh usr/bin/neovide 
-rwxr-xr-x 1 hacker hacker 23M Jun 19 14:14 usr/bin/neovide
$ ls -lh orig/usr/bin/neovide 
-rwxr-xr-x 1 hacker hacker 35M May 25 05:06 orig/usr/bin/neovide

Merge request reports