From cd7c3483b45c06db4b2fcbb9b40d5dfac076c8c2 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 16 May 2017 09:49:30 +0200 Subject: [PATCH] build: for Solaris, tell the linker where to find clock_gettime() This fixes https://savannah.gnu.org/bugs/?50972. Reported-by: John Wiersba --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 40ff899a..f8a5caaa 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -39,7 +39,7 @@ nano_SOURCES = browser.c \ utils.c \ winio.c -nano_LDADD = @LIBINTL@ $(top_builddir)/lib/libgnu.a +nano_LDADD = @LIBINTL@ $(top_builddir)/lib/libgnu.a $(LIB_CLOCK_GETTIME) install-exec-hook: cd $(DESTDIR)$(bindir) && rm -f rnano && $(LN_S) nano rnano