liblog4c-localtime: fix linking error without pthread
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 11 Nov 2013 20:14:01 +0000 (21:14 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 11 Nov 2013 20:14:01 +0000 (21:14 +0100)
commitc2255e00f3ead5d9a55d81f503be269b555fbed5
treed0ed7d673205f10cf5a7d101c07f65158deb928a
parent6a3bff298e0026fbbbea46aea1a859a30691a560
liblog4c-localtime: fix linking error without pthread

Fixes http://autobuild.buildroot.net/results/34f/34f238cdb1b1b4be1a11143b5e4a17c78c2fc289/

The rollingfile functionality only gets built if pthread support is
available, but a call to these functions from log4c_fini() was outside
the #if WITH_ROLLINGFILE conditional, causing linker errors when the
library is used.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/liblog4c-localtime/liblog4c-localtime-nothread.patch [new file with mode: 0644]