mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-05 12:08:24 +00:00
Fix sys/meson.py (#11626)
This commit is contained in:
parent
1ed251b894
commit
8786d57aa5
@ -48,8 +48,12 @@ def set_global_variables():
|
||||
version = f.readline().split()[1].rstrip()
|
||||
|
||||
if os.name == 'nt':
|
||||
meson = os.path.join(os.path.dirname(sys.executable), 'Scripts', 'meson.py')
|
||||
MESON = [sys.executable, meson]
|
||||
meson = os.path.join(os.path.dirname(sys.executable), 'Scripts', 'meson.exe')
|
||||
if os.path.exists(meson):
|
||||
MESON = [meson]
|
||||
else:
|
||||
meson = os.path.join(os.path.dirname(sys.executable), 'Scripts', 'meson.py')
|
||||
MESON = [sys.executable, meson]
|
||||
else:
|
||||
MESON = ['meson']
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user