jose: fix static library usage
authorRosen Penev <rosenp@gmail.com>
Sat, 17 Sep 2022 22:22:53 +0000 (15:22 -0700)
committerRosen Penev <rosenp@gmail.com>
Mon, 19 Sep 2022 06:19:31 +0000 (23:19 -0700)
commitc61b70918b6c10f6fd726b098474736a7e0ae9cd
tree6e09131e81233fe352266cd3674508c04704f5be
parentf8c25627ebe1d92fb89caa97f864e2972b79a63f
jose: fix static library usage

When libjose is built statically, it must use --whole-archive as it uses
GCC's constructor attribute to initialize itself.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/jose/Makefile
libs/jose/patches/010-whole.patch [new file with mode: 0644]