Repository navigation
Replies: 6 comments 6 replies
|
yyjson should be static linked into fastfetch binary. If not, I'll fix it. |
|
Oh, it was meant to be statically linked? Then my point it moot. I'll look into the build system to see why it is like this. Thanks! |
|
I just checked the binary built by Github Action, it does not depend on yyjson.so. The source code of yyjson is automatically fetched by CMake FetchContent. Line 40 in a85da54 Do you have yyjson pre-installed? Try removing it and build fastfetch again |
|
Downloading stuff during build it not allowed in Gentoo, the sandbox won't allow it, so I had to remove that part and preinstall yyjson. |
|
Hello @ceamac Fastfetch v2.0.1 (stable) has been released, with an optional cmake option |
Uh oh!
There was an error while loading. Please reload this page.
So far fastfetch had no mandatory libs. All of them were dlopened and used only if found at runtime. Now yyjson is linked in, and fastfetch does not start if it is absent. (As a side note, you don't even get a link error, it just creates a broken executable).
I don't have a strong opinion about this, it is not wrong per se to depend on a library, but it changes something that was almost a tradition. So maybe start a discussion about dropping yyjson as hard requirement? Is it doable? Is it worth it?
All reactions