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>
This commit is contained in:
Benno Schulenberg 2017-05-16 09:49:30 +02:00
parent 8075e454a9
commit cd7c3483b4

View File

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