Windows sys/meson.py: Add r2 shell script (#16753)
This commit is contained in:
parent
d7258113d9
commit
dbd33d0efe
|
@ -172,6 +172,11 @@ def win_dist(args):
|
|||
with open(r2_bat_fname, 'w') as r2_bat:
|
||||
r2_bat.write('@"%~dp0\\radare2" %*\n')
|
||||
|
||||
r2_sh_fname = args.install + r'\bin\r2'
|
||||
log.debug('create "%s"', r2_sh_fname)
|
||||
with open(r2_sh_fname, 'w') as r2_sh:
|
||||
r2_sh.write('#!/bin/sh\n$(dirname "$0")/radare2 "$@"\n')
|
||||
|
||||
copy(r'{BUILDDIR}\libr\*\*.dll', r'{DIST}\bin')
|
||||
makedirs(r'{DIST}\{R2_LIBDIR}')
|
||||
if args.shared:
|
||||
|
|
Loading…
Reference in New Issue