diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2015-07-15 15:23:10 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2015-07-15 15:24:31 +0200 |
commit | 4730e0aabab1cdb1e08cb0473f4236394d064149 (patch) | |
tree | 941d261b5abc9c66faa25d1e01eb21a26e9205c9 | |
parent | 15954c36cac025bf64425b57cddb106c5c00c062 (diff) | |
download | mpv-4730e0aabab1cdb1e08cb0473f4236394d064149.tar.bz2 mpv-4730e0aabab1cdb1e08cb0473f4236394d064149.tar.xz |
build: make mpv.rc depend on version.h
-rw-r--r-- | wscript_build.py | 4 |
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", |