iputils/iputils-ADDLIB.diff

13 lines
339 B
Diff

--- 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))