deploy-ng: Only build deploy-stub if Python is available

This commit is contained in:
Mitchell Stokes 2016-12-18 10:53:38 -08:00
parent 2dab76131c
commit 3ab9bde73d

View File

@ -6355,7 +6355,7 @@ if (PkgSkip("CONTRIB")==0 and not RUNTIME):
#
# DIRECTORY: pandatool/src/deploy-stub
#
if True: # TODO
if PkgSkip("PYTHON") == 0:
OPTS=['DIR:pandatool/src/deploy-stub', 'BUILDING:DEPLOYSTUB', 'PYTHON']
TargetAdd('deploy-stub.obj', opts=OPTS, input='deploy-stub.c')
if GetTarget() == 'windows':