mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Add --static to PKG_CONFIG rather than replacing it.
This commit is contained in:
		
							
								
								
									
										2
									
								
								compat.h
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								compat.h
									
									
									
									
									
								
							@@ -190,7 +190,7 @@ typedef uint64_t u_int64_t;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#ifndef HAVE_CLOSEFROM
 | 
					#ifndef HAVE_CLOSEFROM
 | 
				
			||||||
/* closefrom.c */
 | 
					/* closefrom.c */
 | 
				
			||||||
void	closefrom(int);
 | 
					void		 closefrom(int);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef HAVE_STRCASESTR
 | 
					#ifndef HAVE_STRCASESTR
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -48,7 +48,7 @@ AC_ARG_ENABLE(
 | 
				
			|||||||
)
 | 
					)
 | 
				
			||||||
if test "x$found_static" = xyes; then
 | 
					if test "x$found_static" = xyes; then
 | 
				
			||||||
	LDFLAGS="$LDFLAGS -static"
 | 
						LDFLAGS="$LDFLAGS -static"
 | 
				
			||||||
	PKG_CONFIG="pkg-config --static"
 | 
						test "x$PKG_CONFIG" != x && PKG_CONFIG="$PKG_CONFIG --static"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Is this gcc?
 | 
					# Is this gcc?
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user