[HAVE_LIBRESOLV]: Add -lresolv to linker flags.
This commit is contained in:
parent
c6f18a070b
commit
b5322ed70f
1 changed files with 8 additions and 1 deletions
|
@ -459,6 +459,13 @@ LIBX= $(LIBXMENU) LD_SWITCH_X_SITE -lX10 LIBX10_MACHINE LIBX10_SYSTEM
|
|||
#define LIBGPM
|
||||
#endif /* not HAVE_GPM */
|
||||
|
||||
#if HAVE_LIBRESOLV
|
||||
#ifndef LIBRESOLV
|
||||
#define LIBRESOLV -lresolv
|
||||
#endif /* not defined LIBRESOLV */
|
||||
#else /* not HAVE_LIBRESOLV */
|
||||
#define LIBRESOLV
|
||||
#endif /* not HAVE_LIBRESOLV */
|
||||
|
||||
LIBSOUND= @LIBSOUND@
|
||||
CFLAGS_SOUND= @CFLAGS_SOUND@
|
||||
|
@ -940,7 +947,7 @@ SOME_MACHINE_LISP = ${dotdot}/lisp/mouse.elc \
|
|||
duplicated symbols. If the standard libraries were compiled
|
||||
with GCC, we might need gnulib again after them. */
|
||||
LIBES = $(LOADLIBES) $(LIBS) $(LIBX) $(LIBSOUND) $(RSVG_LIBS) LIBGPM \
|
||||
LIBS_SYSTEM LIBS_MACHINE LIBS_TERMCAP \
|
||||
LIBRESOLV LIBS_SYSTEM LIBS_MACHINE LIBS_TERMCAP \
|
||||
LIBS_DEBUG $(GETLOADAVG_LIBS) $(GNULIB_VAR) LIB_MATH LIB_STANDARD \
|
||||
$(GNULIB_VAR)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue