Mercurial > hg > octave-lojdl > gnulib-hg
changeset 17054:ea133888b2c2
timer-time: fix link order when static linking on glibc
* m4/timer_time.m4 (LIB_TIMER_TIME): Add -lpthread
_after_ -lrt so that it's significant.
author | Mike Frysinger <vapier@gentoo.org> |
---|---|
date | Mon, 20 Aug 2012 01:42:39 +0100 |
parents | 4c7f29442176 |
children | 672cf835d212 |
files | ChangeLog m4/timer_time.m4 |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-08-20 Mike Frysinger <vapier@gentoo.org> + + timer-time: fix link order when static linking on glibc + * m4/timer_time.m4 (LIB_TIMER_TIME): Add -lpthread + _after_ -lrt so that it's significant. + 2012-08-19 Paul Eggert <eggert@cs.ucla.edu> timespec: omit unnecessary AC_C_INLINE
--- a/m4/timer_time.m4 +++ b/m4/timer_time.m4 @@ -1,4 +1,4 @@ -# timer_time.m4 serial 1 +# timer_time.m4 serial 2 dnl Copyright (C) 2011-2012 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -33,7 +33,7 @@ #endif #endif ], - [LIB_TIMER_TIME="$LIBMULTITHREAD $LIB_TIMER_TIME"]) + [LIB_TIMER_TIME="$LIB_TIMER_TIME $LIBMULTITHREAD"]) AC_CHECK_FUNCS([timer_settime]) LIBS=$gl_saved_libs ])