mcmilk / zstdmt

Multithreading Library for Brotli, Lizard, LZ4, LZ5, Snappy and Zstandard
Other
181 stars 33 forks source link

link to external library through make #28

Closed tansy closed 5 months ago

tansy commented 7 months ago

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.