Commit 00740fb2 authored by Max Kellermann's avatar Max Kellermann

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".
parent 37e90108
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment