build: grab full paths to host tools
This ensures that make will work even if PATH has changed, which is often the case when cross-compiling. Fixes cross-compiled builds when integrated into Bitcoin's repo.
This commit is contained in:
		
							parent
							
								
									7d1956ff8d
								
							
						
					
					
						commit
						3ab1178d54
					
				| @ -15,6 +15,10 @@ AC_PROG_INSTALL | |||||||
| AC_PROG_SED | AC_PROG_SED | ||||||
| PKG_PROG_PKG_CONFIG | PKG_PROG_PKG_CONFIG | ||||||
| 
 | 
 | ||||||
|  | AC_PATH_TOOL(AR, ar) | ||||||
|  | AC_PATH_TOOL(RANLIB, ranlib) | ||||||
|  | AC_PATH_TOOL(STRIP, strip) | ||||||
|  | 
 | ||||||
| AC_PROG_CC_C99 | AC_PROG_CC_C99 | ||||||
| if test x"$ac_cv_prog_cc_c99" == x"no"; then | if test x"$ac_cv_prog_cc_c99" == x"no"; then | ||||||
|   AC_MSG_ERROR([c99 compiler support required]) |   AC_MSG_ERROR([c99 compiler support required]) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user