Force pkg-config to look into $PREFIX first

This commit is contained in:
Pierre Pronchery 2015-05-28 21:35:55 +02:00
parent 4a03d69093
commit 1e0f34da9b

View File

@ -322,7 +322,8 @@ _package_debian()
#build the package
_info "Building the package..."
$DEBUG $DPKG_BUILDPACKAGE
#XXX ugly workaround
PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig" $DEBUG $DPKG_BUILDPACKAGE
#XXX ignore errors if the command is not installed
if [ $? -eq 127 ]; then
_warning "Could not build the package"