build: for Solaris, tell the linker to use a threading lib
This fixes https://savannah.gnu.org/bugs/?51348. Reported-by: Henrik Karlsson <henrik.karlsson@pulsen.se> Tested-by: John Wiersba <jrw32982@yahoo.com>master
parent
747310562c
commit
23f5515fbb
|
@ -37,9 +37,10 @@ nano_SOURCES = browser.c \
|
||||||
search.c \
|
search.c \
|
||||||
text.c \
|
text.c \
|
||||||
utils.c \
|
utils.c \
|
||||||
winio.c
|
winio.c
|
||||||
|
|
||||||
nano_LDADD = @LIBINTL@ $(top_builddir)/lib/libgnu.a $(LIB_CLOCK_GETTIME)
|
nano_LDADD = @LIBINTL@ $(top_builddir)/lib/libgnu.a \
|
||||||
|
$(LIB_CLOCK_GETTIME) $(LIBTHREAD)
|
||||||
|
|
||||||
install-exec-hook:
|
install-exec-hook:
|
||||||
cd $(DESTDIR)$(bindir) && rm -f rnano && $(LN_S) nano rnano
|
cd $(DESTDIR)$(bindir) && rm -f rnano && $(LN_S) nano rnano
|
||||||
|
|
Loading…
Reference in New Issue