commit cd7c3483b45c06db4b2fcbb9b40d5dfac076c8c2
parent 8075e454a9f717dc60eb55c0b0afc24d8be3d81d
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Tue, 16 May 2017 09:49:30 +0200
build: for Solaris, tell the linker where to find clock_gettime()
This fixes https://savannah.gnu.org/bugs/?50972.
Reported-by: John Wiersba <jrw32982@yahoo.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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