qLinux
… a distribution study


<< Prev
Xz

Next >>
File


Zstd-1.5.0

Reference 8.9. Zstd-1.5.0. Apply the qLinux filesystem layout patch (include prefixes):

patch -Np1 -i zstd-1.5.0-qlnx-20220202.patch

The package doesn't have a configure script, thus invoke:

CC=gcc make

Verify the build:

readelf -l zstd | grep ld

Install the package:

make prefix=/qlnx install

Optional: Remove the static library:

rm -v /qlnx/lib/libzstd.a

Verify  /qlnx/lib/pkgconfig/libzstd.pc  and fix it accordingly if required.


<< Prev
Xz

        

Next >>
File