win32/build.py: prepend "./" to "configure" if path is empty
Fixes in-tree build when the script is called as "win32/build.py" and not "./win32/build.py".
This commit is contained in:
parent
2b1194d574
commit
f4627acc48
|
@ -15,7 +15,7 @@ if configure_args[0] == '--64':
|
|||
host_arch = 'x86_64-w64-mingw32'
|
||||
|
||||
# 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')
|
||||
|
|
Loading…
Reference in New Issue