]> git.ipfire.org Git - thirdparty/zstd.git/commit
build libzstd.so from object files
authorYann Collet <yann.collet.73@gmail.com>
Wed, 21 Oct 2020 05:19:57 +0000 (22:19 -0700)
committerYann Collet <yann.collet.73@gmail.com>
Wed, 21 Oct 2020 05:19:57 +0000 (22:19 -0700)
commit911dbdbb4b1374fcc4c2c8a6199bb15ecb69b24a
tree11f66c466a50327872f3adf3327d9b36ac67e59c
parentd6dae2000b3148105a4cf8e56ff133f61211767a
build libzstd.so from object files

%.o object files generated for dynamic library
must be different from those generated for static library.

Due to this difference, %.o were so far only generated for the static library.
The dynamic library was rebuilt from %.c source.

This meant that, for every minor change, the entire dynamic library had to be rebuilt.

This is fixed in this PR :
only the modified %.c source get rebuilt.
lib/Makefile