mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
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…
x
Reference in New Issue
Block a user