Subject: Minor problem with static building of coreutils-8.1[345]

From: Heinz-Ado Arnolds <[email-masked]>
Date: Fri, 02 Mar 2012 10:35:22 +0100

Hi,

I have a minor problem with the *static* building of coreutils. Building
"timeout" requires libpthread in addition to librt.

A simple patch is enclosed.

Thanks a lot for your great work and kind regards,

Ado

________________________________________________________________________

Dipl.-Ing. Heinz-Ado Arnolds

MPI fuer Astrophysik
Karl-Schwarzschild-Strasse 1            Postfach 1317
D-85748 Garching                        D-85741 Garching
Phone:  +49/89/30000-2217
FAX  :  +49/89/30000-2388
email:  arnolds[at]MPA-Garching.MPG.DE
________________________________________________________________________
diff -cr coreutils-8.15.orig/src/Makefile.in coreutils-8.15/src/Makefile.in
*** coreutils-8.15.orig/src/Makefile.in	2012-01-06 18:28:25.000000000 +0100
--- coreutils-8.15/src/Makefile.in	2012-03-02 10:33:12.000000000 +0100
***************
*** 2042,2048 ****
  tail_LDADD = $(LDADD) $(LIB_NANOSLEEP)
  tee_LDADD = $(LDADD)
  test_LDADD = $(LDADD) $(LIB_EACCESS)
! timeout_LDADD = $(LDADD) $(LIB_TIMER_TIME) $(LIBICONV)
  touch_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME)
  tr_LDADD = $(LDADD)
  true_LDADD = $(LDADD)
--- 2042,2048 ----
  tail_LDADD = $(LDADD) $(LIB_NANOSLEEP)
  tee_LDADD = $(LDADD)
  test_LDADD = $(LDADD) $(LIB_EACCESS)
! timeout_LDADD = $(LDADD) $(LIB_TIMER_TIME) $(LIB_PTHREAD) $(LIBICONV)
  touch_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME)
  tr_LDADD = $(LDADD)
  true_LDADD = $(LDADD)