gnu: hostapd: Use PKG-CONFIG-FOR-TARGET.
* gnu/packages/admin.scm (hostapd)[arguments]: Use PKG-CONFIG-FOR-TARGET.
This commit is contained in:
		
							parent
							
								
									07efa9df3e
								
							
						
					
					
						commit
						3b3a4544a1
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -2041,9 +2041,7 @@ command.")
 | 
			
		|||
           (lambda _
 | 
			
		||||
             (substitute* "src/drivers/drivers.mak"
 | 
			
		||||
               (("pkg-config")
 | 
			
		||||
                (or (which "pkg-config")
 | 
			
		||||
                    (string-append ,(%current-target-system)
 | 
			
		||||
                                   "-pkg-config"))))))
 | 
			
		||||
                ,(pkg-config-for-target)))))
 | 
			
		||||
         (add-after 'install 'install-man-pages
 | 
			
		||||
           (lambda* (#:key outputs #:allow-other-keys)
 | 
			
		||||
             (let* ((out  (assoc-ref outputs "out"))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue