summaryrefslogtreecommitdiffhomepage
path: root/src/output
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-10-25 22:26:30 -0400
committermidipix <writeonce@midipix.org>2017-10-26 01:03:43 -0400
commitfbda3a30a94210a48e797fa9c9dc635f3afaceb9 (patch)
tree8ad8665cdf3154773df1f6dccf0b3f3a422043fe /src/output
parentb6abc337906e43f92f50e075f49df407946fc6fe (diff)
downloadslibtool-fbda3a30a94210a48e797fa9c9dc635f3afaceb9.tar.bz2
slibtool-fbda3a30a94210a48e797fa9c9dc635f3afaceb9.tar.xz
driver: added --mdso and --implib support.
Diffstat (limited to 'src/output')
-rw-r--r--src/output/slbt_output_config.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/output/slbt_output_config.c b/src/output/slbt_output_config.c
index d1d9712..800c6c3 100644
--- a/src/output/slbt_output_config.c
+++ b/src/output/slbt_output_config.c
@@ -63,6 +63,9 @@ int slbt_output_config(const struct slbt_driver_ctx * dctx)
if ((len = strlen(cctx->host.dlltool)) > midwidth)
midwidth = len;
+ if ((len = strlen(cctx->host.mdso)) > midwidth)
+ midwidth = len;
+
midwidth += SLBT_TAB_WIDTH;
midwidth &= (~(SLBT_TAB_WIDTH-1));
@@ -93,6 +96,9 @@ int slbt_output_config(const struct slbt_driver_ctx * dctx)
if (slbt_output_config_line("dlltool",cctx->host.dlltool,cctx->cfgmeta.dlltool,midwidth))
return SLBT_SYSTEM_ERROR(dctx);
+ if (slbt_output_config_line("mdso",cctx->host.mdso,cctx->cfgmeta.mdso,midwidth))
+ return SLBT_SYSTEM_ERROR(dctx);
+
return fflush(stdout)
? SLBT_SYSTEM_ERROR(dctx)
: 0;