mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-03 14:37:05 +03:00
support U3_LIB define
This commit is contained in:
parent
71d8f1228d
commit
fda8ff38a4
@ -206,6 +206,10 @@ _main_getopt(c3_i argc, c3_c** argv)
|
||||
u3_Host.ops_u.pil_c = strdup("urbit.pill");
|
||||
} else if ( stat("urb/urbit.pill", &s) == 0 ) {
|
||||
u3_Host.ops_u.pil_c = strdup("urb/urbit.pill");
|
||||
#ifdef U3_LIB
|
||||
} else if ( stat(U3_LIB"/urbit.pill", &s) == 0 ) {
|
||||
u3_Host.ops_u.pil_c = strdup(U3_LIB"/urbit.pill");
|
||||
#endif
|
||||
} else {
|
||||
fprintf(stderr, "Could not find urbit.pill\n");
|
||||
return c3n;
|
||||
|
Loading…
Reference in New Issue
Block a user