--- Makefile +++ Makefile @@ -5,8 +5,8 @@ DEFINES= #options if you have a bind>=4.9.4 libresolv (or, maybe, glibc) -LDLIBS=-lresolv ADDLIB= +LDLIBS=-lresolv $(ADDLIB) ifeq ($(LIBC_INCLUDE)/socketbits.h,$(wildcard $(LIBC_INCLUDE)/socketbits.h)) ifeq ($(LIBC_INCLUDE)/net/if_packet.h,$(wildcard $(LIBC_INCLUDE)/net/if_packet.h))