pkg-config: always use correct path for pkg-config.real
Before this commit, it was assumed that pkg-config.real is in the PATH. While
this was fine for the normal build workflow, this led to some issues if
    make TOPDIR="$(pwd)" -C "$pkgdir" compile
was called manually. The command failed with
    Makefile:15: *** No libnl-tiny development libraries found!.  Stop.
    make[1]: Leaving directory
since pkg-config of the host system was used.
After the commit, the package is built sucessfully.
Signed-off-by: Leonardo Mörlein <me@irrelefant.net>
(cherry picked from commit 37c0d15a8e)
			
			
This commit is contained in:
		 Leonardo Mörlein
					Leonardo Mörlein
				
			
				
					committed by
					
						 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
			
				
	
			
			
			 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
						parent
						
							1c7a167366
						
					
				
				
					commit
					6a638c134d
				
			| @@ -1,6 +1,6 @@ | ||||
| #!/bin/sh | ||||
|  | ||||
| pkg-config.real \ | ||||
| ${STAGING_DIR_HOST}/bin/pkg-config.real \ | ||||
| --keep-system-cflags \ | ||||
| --keep-system-libs \ | ||||
| --define-variable=prefix="${STAGING_PREFIX}" \ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user