fix: populate ldns submodule and add autotools to LDNS build stage
- Re-cloned zonemaster-ldns with --recurse-submodules so the bundled ldns C library source (including Changelog and configure.ac) is present - Added autoconf, automake, libtool to Dockerfile.backend ldns-build stage so libtoolize + autoreconf can generate ldns/configure during make Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
16
zonemaster-ldns/ldns/compat/asctime_r.c
Normal file
16
zonemaster-ldns/ldns/compat/asctime_r.c
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <ldns/config.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_TIME_H
|
||||
#include <time.h>
|
||||
#endif
|
||||
|
||||
char *asctime_r(const struct tm *tm, char *buf)
|
||||
{
|
||||
/* no thread safety. */
|
||||
char* result = asctime(tm);
|
||||
if(buf && result)
|
||||
strcpy(buf, result);
|
||||
return result;
|
||||
}
|
||||
Reference in New Issue
Block a user