mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Move -lutil.
This commit is contained in:
		
							
								
								
									
										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
 | 
					.SUFFIXES: .c .o
 | 
				
			||||||
.PHONY: clean
 | 
					.PHONY: clean
 | 
				
			||||||
@@ -11,7 +11,7 @@ CC?= cc
 | 
				
			|||||||
CFLAGS+= -DBUILD="\"$(VERSION)\""
 | 
					CFLAGS+= -DBUILD="\"$(VERSION)\""
 | 
				
			||||||
CPPFLAGS:= -I. -I- -I/usr/local/include ${CPPFLAGS}
 | 
					CPPFLAGS:= -I. -I- -I/usr/local/include ${CPPFLAGS}
 | 
				
			||||||
LDFLAGS+= -L/usr/local/lib
 | 
					LDFLAGS+= -L/usr/local/lib
 | 
				
			||||||
LIBS+= -lutil -lncurses
 | 
					LIBS+= -lncurses
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.ifdef FDEBUG
 | 
					.ifdef FDEBUG
 | 
				
			||||||
LDFLAGS+= -Wl,-E
 | 
					LDFLAGS+= -Wl,-E
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										5
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								configure
									
									
									
									
										vendored
									
									
								
							@@ -1,5 +1,5 @@
 | 
				
			|||||||
#!/bin/sh
 | 
					#!/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_H=config.h
 | 
				
			||||||
CONFIG_MK=config.mk
 | 
					CONFIG_MK=config.mk
 | 
				
			||||||
@@ -30,6 +30,7 @@ case `uname` in
 | 
				
			|||||||
EOF
 | 
					EOF
 | 
				
			||||||
	cat <<EOF >>$CONFIG_MK
 | 
						cat <<EOF >>$CONFIG_MK
 | 
				
			||||||
SRCS+= osdep-openbsd.c
 | 
					SRCS+= osdep-openbsd.c
 | 
				
			||||||
 | 
					LIBS+= -lutil
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
	;;
 | 
						;;
 | 
				
			||||||
# ------------------------------------------------------------------------------
 | 
					# ------------------------------------------------------------------------------
 | 
				
			||||||
@@ -136,7 +137,7 @@ EOF
 | 
				
			|||||||
EOF
 | 
					EOF
 | 
				
			||||||
	cat <<EOF >>$CONFIG_MK
 | 
						cat <<EOF >>$CONFIG_MK
 | 
				
			||||||
SRCS+= osdep-freebsd.c
 | 
					SRCS+= osdep-freebsd.c
 | 
				
			||||||
LIBS+= -lcrypt
 | 
					LIBS+= -lcrypt -lutil
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
	;;
 | 
						;;
 | 
				
			||||||
# ------------------------------------------------------------------------------
 | 
					# ------------------------------------------------------------------------------
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user