mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-26 00:29:46 +01:00
Move -lutil.
This commit is contained in:
parent
a8fe667267
commit
1b70993207
4
Makefile
4
Makefile
@ -1,4 +1,4 @@
|
||||
# $Id: Makefile,v 1.132 2009-05-13 23:27:00 nicm Exp $
|
||||
# $Id: Makefile,v 1.133 2009-05-14 00:17:37 nicm Exp $
|
||||
|
||||
.SUFFIXES: .c .o
|
||||
.PHONY: clean
|
||||
@ -11,7 +11,7 @@ CC?= cc
|
||||
CFLAGS+= -DBUILD="\"$(VERSION)\""
|
||||
CPPFLAGS:= -I. -I- -I/usr/local/include ${CPPFLAGS}
|
||||
LDFLAGS+= -L/usr/local/lib
|
||||
LIBS+= -lutil -lncurses
|
||||
LIBS+= -lncurses
|
||||
|
||||
.ifdef FDEBUG
|
||||
LDFLAGS+= -Wl,-E
|
||||
|
5
configure
vendored
5
configure
vendored
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $Id: configure,v 1.4 2009-05-14 00:12:42 nicm Exp $
|
||||
# $Id: configure,v 1.5 2009-05-14 00:17:37 nicm Exp $
|
||||
|
||||
CONFIG_H=config.h
|
||||
CONFIG_MK=config.mk
|
||||
@ -30,6 +30,7 @@ case `uname` in
|
||||
EOF
|
||||
cat <<EOF >>$CONFIG_MK
|
||||
SRCS+= osdep-openbsd.c
|
||||
LIBS+= -lutil
|
||||
EOF
|
||||
;;
|
||||
# ------------------------------------------------------------------------------
|
||||
@ -136,7 +137,7 @@ EOF
|
||||
EOF
|
||||
cat <<EOF >>$CONFIG_MK
|
||||
SRCS+= osdep-freebsd.c
|
||||
LIBS+= -lcrypt
|
||||
LIBS+= -lcrypt -lutil
|
||||
EOF
|
||||
;;
|
||||
# ------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user