[ldns-users] Missing rule for realloc.o
Alexander Gall
gall at switch.ch
Fri Oct 26 13:05:47 UTC 2007
On systems without a suitable realloc(), the built-in realloc can't be
compiled because a rule is missing in the makefile
make: *** No rule to make target `realloc.o', needed by `libldns.la'. Stop.
The attached patch fixes this (I noticed this by accident, my system
actually has a usable realloc). I wonder what the $U is for. It
doesn't seem to be defined anywhere, i.e. evaluates to an empty
string.
--
Alex
diff -Naur ldns-1.2.1.orig/Makefile.in ldns-1.2.1/Makefile.in
--- ldns-1.2.1.orig/Makefile.in 2007-08-09 10:52:04.000000000 +0200
+++ ldns-1.2.1/Makefile.in 2007-10-26 14:43:16.287294000 +0200
@@ -196,6 +196,9 @@
tags: $(srcdir)/*.c ldns/*.[ch]
ctags -f $(srcdir)/tags $(srcdir)/*.[ch] ldns/*.[ch]
+realloc$U.o: $(srcdir)/compat/realloc.c
+ $(COMP_LIB) -c $(srcdir)/compat/realloc.c -o $@
+
b64_pton$U.o: $(srcdir)/compat/b64_pton.c
$(COMP_LIB) -c $(srcdir)/compat/b64_pton.c -o $@
More information about the ldns-users
mailing list