You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zstds cmake seems to not allow to build the zstd program against the shared libary. In deploying it to our embedded platform this leads to a almost doubled artifact size, which is a problem.
Is there a simple way to allow to build the zstd program against the zstd so library? this would reduce package size significantly.
The text was updated successfully, but these errors were encountered:
If you want to do this yourself, you certainly can: you can build libzstd.so in the normal way and then build the (minimal) binary just like you would any other executable with a dynamic dependency:
Using your feedback, my colleague created the following PR to do this.
Activation of a build switch would be a lot easier to maintain as the code above and it did work for my cross-compiled arm platform.
zstds cmake seems to not allow to build the zstd program against the shared libary. In deploying it to our embedded platform this leads to a almost doubled artifact size, which is a problem.
Is there a simple way to allow to build the zstd program against the zstd so library? this would reduce package size significantly.
The text was updated successfully, but these errors were encountered: