summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wscript_build.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript_build.py b/wscript_build.py
index acf3882e3c..befe1cfcb1 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -418,6 +418,10 @@ def build(ctx):
ctx.path.find_node('osdep/mpv.rc'),
ctx.path.find_node(node))
+ ctx.add_manual_dependency(
+ ctx.path.find_node('osdep/mpv.rc'),
+ ctx.bldnode.find_node('version.h'))
+
if ctx.dependency_satisfied('cplayer') or ctx.dependency_satisfied('test'):
ctx(
target = "objects",