Dependents on probes.h need the dummy header too

This commit is contained in:
Nobuyoshi Nakada 2019-11-18 23:14:13 +09:00
parent e1b2341488
commit f09fc1b034
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -364,6 +364,9 @@ def read_single_cc_deps(path_i, cwd)
next if !dep.to_s.start_with?(cwd.to_s) # omit system headers.
deps << dep
}
if deps.include?(cwd + "probes.h")
deps << (cwd + "probes.dmyh")
end
deps
end