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:
parent
37e9010887
commit
00740fb23b
@ -23,7 +23,7 @@ if not os.path.isdir(ndk_path):
|
|||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# the path to the MPD sources
|
# 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
|
# output directories
|
||||||
lib_path = os.path.abspath('lib')
|
lib_path = os.path.abspath('lib')
|
||||||
|
Loading…
Reference in New Issue
Block a user