mirror of https://github.com/mpv-player/mpv
parent
ebdbb4f24c
commit
7ba403002f
|
@ -418,9 +418,11 @@ def build(ctx):
|
||||||
ctx.path.find_node('osdep/mpv.rc'),
|
ctx.path.find_node('osdep/mpv.rc'),
|
||||||
ctx.path.find_node(node))
|
ctx.path.find_node(node))
|
||||||
|
|
||||||
ctx.add_manual_dependency(
|
version = ctx.bldnode.find_node('version.h')
|
||||||
ctx.path.find_node('osdep/mpv.rc'),
|
if version:
|
||||||
ctx.bldnode.find_node('version.h'))
|
ctx.add_manual_dependency(
|
||||||
|
ctx.path.find_node('osdep/mpv.rc'),
|
||||||
|
version)
|
||||||
|
|
||||||
if ctx.dependency_satisfied('cplayer') or ctx.dependency_satisfied('test'):
|
if ctx.dependency_satisfied('cplayer') or ctx.dependency_satisfied('test'):
|
||||||
ctx(
|
ctx(
|
||||||
|
|
Loading…
Reference in New Issue