|  |  | @ -409,7 +409,8 @@ endef | 
			
		
	
		
			
				
					|  |  |  | # -----------------------------------------------------------------------------
 | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | # rewrite libtool libraries
 | 
			
		
	
		
			
				
					|  |  |  | REWRITE_LIBTOOL_RULES = "s,^libdir=.*,libdir='$(1)',; \
 | 
			
		
	
		
			
				
					|  |  |  | REWRITE_LIBTOOL_RULES = "\
 | 
			
		
	
		
			
				
					|  |  |  | 	s,^libdir=.*,libdir='$(1)',; \
 | 
			
		
	
		
			
				
					|  |  |  | 	s,\(^dependency_libs='\| \|-L\|^dependency_libs='\)/lib,\ $(1),g"
 | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | REWRITE_LIBTOOL_TAG = rewritten=1 | 
			
		
	
	
		
			
				
					|  |  | @ -433,7 +434,8 @@ endef | 
			
		
	
		
			
				
					|  |  |  | # -----------------------------------------------------------------------------
 | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | # rewrite pkg-config files
 | 
			
		
	
		
			
				
					|  |  |  | REWRITE_CONFIG_RULES = "s,^prefix=.*,prefix='$(TARGET_prefix)',; \
 | 
			
		
	
		
			
				
					|  |  |  | REWRITE_CONFIG_RULES = "\
 | 
			
		
	
		
			
				
					|  |  |  | 	s,^prefix=.*,prefix='$(TARGET_prefix)',; \
 | 
			
		
	
		
			
				
					|  |  |  | 	s,^exec_prefix=.*,exec_prefix='$(TARGET_exec_prefix)',; \
 | 
			
		
	
		
			
				
					|  |  |  | 	s,^libdir=.*,libdir='$(TARGET_libdir)',; \
 | 
			
		
	
		
			
				
					|  |  |  | 	s,^includedir=.*,includedir='$(TARGET_includedir)',"
 | 
			
		
	
	
		
			
				
					|  |  | 
 |