mirror of https://gitee.com/openkylin/libvirt.git
Fix header ifdef check for config-post.h in VPATH build
We must do a substring match, not an exact match since there can be an arbitrary virtual path prepended. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
0aadf5ffe2
commit
1fb73537d7
|
@ -85,7 +85,7 @@ while (<>) {
|
|||
}
|
||||
|
||||
if ($mistake ||
|
||||
$ARGV eq "config-post.h" ||
|
||||
$ARGV =~ /config-post\.h$/ ||
|
||||
$ARGV =~ /vbox_(CAPI|XPCOM)/) {
|
||||
$state = $STATE_EOF;
|
||||
next;
|
||||
|
|
Loading…
Reference in New Issue