]> git.ipfire.org Git - thirdparty/zstd.git/commit
fix libzstd-mt underlinking issue
authorYann Collet <cyan@fb.com>
Wed, 29 Apr 2020 01:29:20 +0000 (18:29 -0700)
committerYann Collet <cyan@fb.com>
Wed, 29 Apr 2020 01:29:20 +0000 (18:29 -0700)
commitc6ae2e83bcf9da8869364921db39ebd317faf7d4
tree84543ea5be62ba665def9ad42ee1f24030c3fb2b
parentf17ac423b21fffdc2918daafe41a5eae0478b249
fix libzstd-mt underlinking issue

fix #2045
When compiling `libzstd` in multithreading mode,
the `libzstd-mt` recipe would not include `-pthread`,
resulting in an underlinked dynamic library.

Added a test on Travis to check that the library is fully linked.

This makes it possible, in some future release,
to build a multi-threaded `libzstd` dynamic library by default
as it would no longer impact the build script of user programs.
.travis.yml
lib/Makefile