From a5e80149b9ea92f25d4ec6bea9b5b3839f079343 Mon Sep 17 00:00:00 2001 From: ian Date: Sun, 21 May 2000 18:38:19 +0000 Subject: [PATCH] + * Pass LDFLAGS from configure on to ld via settings.make.in. @@ -10,6 +10,8 @@ Portability/compilation fixes: + * Pass LDFLAGS from configure on to ld via settings.make.in. + * make clean deletes *.so and *.so.* files. --- changelog | 2 ++ settings.make.in | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/changelog b/changelog index e09e74a..f633d19 100644 --- a/changelog +++ b/changelog @@ -10,6 +10,8 @@ adns (0.9) unstable; urgency=low Portability/compilation fixes: * Move `extern "C" {' to after #include <...>'s. + * Pass LDFLAGS from configure on to ld via settings.make.in. + * make clean deletes *.so and *.so.* files. Minor improvements: * Do not print warning if sendto() gives EAGAIN. diff --git a/settings.make.in b/settings.make.in index 537ebe8..9289bea 100644 --- a/settings.make.in +++ b/settings.make.in @@ -30,8 +30,10 @@ SHLIBFORLINK= @SHLIBFORLINK@ CC= @CC@ CFLAGS= $(AUTOCFLAGS) $(WARNS) $(WERROR) $(DIRCFLAGS) $(XCFLAGS) +LDFLAGS= $(AUTOLDFLAGS) $(DIRLDFLAGS) $(XLDFLAGS) LDLIBS= @LIBS@ $(XLIBS) AUTOCFLAGS= @CFLAGS@ +AUTOLDFLAGS= @LDFLAGS@ WARNS= @WARNS@ #WERROR= -Werror @@ -57,7 +59,7 @@ INSTALL_DATA= $(INSTALL) -m 644 all: $(TARGETS) clean mostlyclean: - rm -f *.o *.tmp* + rm -f *.o *.tmp* *.so *.so.* distclean: clean rm -f $(TARGETS) *~ ./#*# core *.orig *.rej Makefile -- 2.11.0