Fix race condition in quickjs build config (#251)

qjsc.com now has a -n do nothing flag so the makefile can create a
localized binary. See also #267 where we have an exciting new change
aiming to address this particular APE gotcha.
This commit is contained in:
Justine Tunney 2021-09-11 22:16:17 -07:00
parent 6ad0602392
commit ad52387b74
2 changed files with 15 additions and 12 deletions

View file

@ -488,6 +488,7 @@ int main(int argc, char **argv)
BOOL bignum_ext = FALSE;
#endif
namelist_t dynamic_module_list;
if (argc == 2 && !strcmp(argv[1], "-n")) return 0;
out_filename = NULL;
output_type = OUTPUT_EXECUTABLE;
cname = NULL;