aboutsummaryrefslogtreecommitdiffstats
path: root/tool/update-deps
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-11-18 23:14:13 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-11-18 23:16:22 +0900
commitf09fc1b0344e65aeb9c11aaeb23c99954265fe4d (patch)
tree1c6202213b0d3409e136bd255edf32b4f069c80e /tool/update-deps
parente1b234148829f65bea9f5ecc7018beb782ea6023 (diff)
downloadruby-f09fc1b0344e65aeb9c11aaeb23c99954265fe4d.tar.gz
Dependents on probes.h need the dummy header too
Diffstat (limited to 'tool/update-deps')
-rwxr-xr-xtool/update-deps3
1 files changed, 3 insertions, 0 deletions
diff --git a/tool/update-deps b/tool/update-deps
index cfcb15c776..359fea102e 100755
--- a/tool/update-deps
+++ b/tool/update-deps
@@ -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