In order to link to external library define it in command line. For example to link with libzstd.so:
$ make LIBZSTD=-lzstd
You will still need sources in zstd directory to compile program but it will link to libzstd.so, speeds up compilation and allows to use shared library already used by zstd.
In order to link to external library define it in command line. For example to link with libzstd.so:
$ make LIBZSTD=-lzstd
You will still need sources in zstd directory to compile program but it will link to libzstd.so, speeds up compilation and allows to use shared library already used by zstd.