android/build.py: prepend "./" to "configure" if path is empty

Fixes in-tree build when the script is called as "android/build.py"
and not "./android/build.py".
This commit is contained in:
Max Kellermann 2015-01-09 16:50:31 +01:00
parent 37e9010887
commit 00740fb23b
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ if not os.path.isdir(ndk_path):
sys.exit(1)
# the path to the MPD sources
mpd_path = os.path.dirname(os.path.dirname(sys.argv[0]))
mpd_path = os.path.dirname(os.path.dirname(sys.argv[0])) or '.'
# output directories
lib_path = os.path.abspath('lib')