mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-13 16:18:33 +00:00
Fix wasi builds
This commit is contained in:
parent
4d68d279fe
commit
341695d158
@ -412,7 +412,7 @@ static int r2pm_install_pkg(const char *pkg, bool global) {
|
||||
if (qjs_script) {
|
||||
int res = 0;
|
||||
const char *const argv[5] = { "radare2", "-j", "-e", qjs_script, NULL };
|
||||
#if R2__UNIX__
|
||||
#if R2__UNIX__ && !defined(__wasi__)
|
||||
int child = fork ();
|
||||
if (child == -1) {
|
||||
eprintf ("Cannot find radare2 in PATH");
|
||||
|
Loading…
Reference in New Issue
Block a user