fix detection of python-for-android project

This commit is contained in:
Mathieu Virbel 2012-01-29 17:49:00 +01:00
parent 39eefeb72d
commit d53260d995
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ platform = sys.platform
# Detect Python for android project
# FIXME: add a specific var for this project, not just guess
#
ndkplatform = environ.get('NDKPLATFORM') and environ.get('LIBLINK')
if ndkplatform is not None:
ndkplatform = environ.get('NDKPLATFORM')
if ndkplatform is not None and environ.get('LIBLINK'):
platform = 'android'
try: