Browse Source

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

Mitchell Stokes 9 years ago
parent
commit
3ab9bde73d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      makepanda/makepanda.py

+ 1 - 1
makepanda/makepanda.py

@@ -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':