Good catch, I fixed this locally last time I did a static build but I forgot to put it in. Thanks.
On Thu, Apr 01, 2010 at 03:36:08PM +0200, Aaron Isotton wrote: > I wanted to build tmux statically on Linux by using > make LDCONFIG=-static > This does not work now because -lrt is missing from the libraries. I don't > know whether the same applies to other platforms as well. This patch fixes > it: > diff -ru tmux-1.2/configure tmux-1.2.patched/configure > --- tmux-1.2/configure 2009-12-12 01:58:29.000000000 +0100 > +++ tmux-1.2.patched/configure 2010-04-01 15:27:56.000000000 +0200 > @@ -104,7 +104,7 @@ > *EOF > * cat <<EOF >>$CONFIG_MK > *CFLAGS+= -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE > -LIBS+= -lncurses -lcrypt -lutil -levent > +LIBS+= -lncurses -lcrypt -lutil -levent -lrt > *SRCS+= osdep-linux.c \ > * compat/fgetln.c \ > * compat/strlcat.c \ > Greetings, > Aaron > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users