From fda8ff38a49d9232c2627b36c87ac853e16469bb Mon Sep 17 00:00:00 2001 From: Raymond Pasco Date: Thu, 28 Jan 2016 08:28:13 -0500 Subject: [PATCH] support U3_LIB define --- vere/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vere/main.c b/vere/main.c index 09b47e612..2c98b9144 100644 --- a/vere/main.c +++ b/vere/main.c @@ -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;