mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 16:28:30 +00:00
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:
parent
6ad0602392
commit
ad52387b74
2 changed files with 15 additions and 12 deletions
1
third_party/quickjs/qjsc.c
vendored
1
third_party/quickjs/qjsc.c
vendored
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue