sysklogd/lib
Joachim Nilsson 84d70e63fc Drop libcompat to simplify build deps and really fix #11
The original idea with libcompat was to keep as few objects as
possible for linking with libsyslog.  That in turn to prevent
a user of libsyslog from suddenly also getting strong binding
to symbols like strlcpy() from libsyslog, rather than their C
library of choice.

However, this caused strlcpy.c to be built as both .o and .lo
files, which in turn caused really bizarre build problems due
to bad DAG dependency.

This patch drops libcompat and instead marks all replacement APIs
as weak symbols, which a C library can override.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2020-01-16 22:17:23 +01:00
..
.gitignore Make sure libsyslog.la, incl. strlcpy.o, is built with -fPIC 2019-11-03 15:55:25 +01:00
pidfile.c Drop libcompat to simplify build deps and really fix #11 2020-01-16 22:17:23 +01:00
strlcat.c Mark strlcat() and strlcpy() as weak functions, for libsyslog 2019-11-04 11:04:13 +01:00
strlcpy.c Mark strlcat() and strlcpy() as weak functions, for libsyslog 2019-11-04 11:04:13 +01:00
utimensat.c Drop libcompat to simplify build deps and really fix #11 2020-01-16 22:17:23 +01:00