提交 1fb73537 编写于 作者: D Daniel P. Berrangé

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: NDaniel P. Berrangé <berrange@redhat.com>
上级 0aadf5ff
......@@ -85,7 +85,7 @@ while (<>) {
}
if ($mistake ||
$ARGV eq "config-post.h" ||
$ARGV =~ /config-post\.h$/ ||
$ARGV =~ /vbox_(CAPI|XPCOM)/) {
$state = $STATE_EOF;
next;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册