diff options
author | midipix <writeonce@midipix.org> | 2016-03-16 04:35:43 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-03-16 04:35:43 -0400 |
commit | db67ad0c89bc1100cc7371b8c4b264cc796d85ef (patch) | |
tree | 1ee45e266a7a2c7e56c49b9970fc6f8c5c62da52 | |
parent | 4df79057b5f599ec5ee6cb16572f9649726301a3 (diff) | |
download | slibtool-db67ad0c89bc1100cc7371b8c4b264cc796d85ef.tar.bz2 slibtool-db67ad0c89bc1100cc7371b8c4b264cc796d85ef.tar.xz |
driver: added context initialization for explicitly specified host parameters.
-rw-r--r-- | src/driver/slbt_driver_ctx.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index a207c5b..0dd94d4 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -328,6 +328,26 @@ int slbt_get_driver_ctx( cctx.drvflags |= SLBT_DRIVER_VERBOSE; break; + case TAG_HOST: + cctx.host.host = entry->arg; + break; + + case TAG_FLAVOR: + cctx.host.flavor = entry->arg; + break; + + case TAG_AR: + cctx.host.ar = entry->arg; + break; + + case TAG_RANLIB: + cctx.host.ranlib = entry->arg; + break; + + case TAG_DLLTOOL: + cctx.host.dlltool = entry->arg; + break; + case TAG_OUTPUT: cctx.output = entry->arg; break; |