summaryrefslogtreecommitdiff
path: root/src/output
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-07-11 08:46:55 -0400
committermidipix <writeonce@midipix.org>2018-07-11 09:35:43 -0400
commit9a02e2b279c811545fbbaed99041b3171d64bb84 (patch)
tree8dc75224dc239bc7817a89c4a033fc0d357c6f50 /src/output
parent0bfff4a80d596810a1798a3710a0e9ff96a9f925 (diff)
downloadslibtool-9a02e2b279c811545fbbaed99041b3171d64bb84.tar.bz2
slibtool-9a02e2b279c811545fbbaed99041b3171d64bb84.tar.xz
driver: added --windres 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 2d29ce9..934da61 100644
--- a/src/output/slbt_output_config.c
+++ b/src/output/slbt_output_config.c
@@ -65,6 +65,9 @@ int slbt_output_config(const struct slbt_driver_ctx * dctx)
if ((len = strlen(cctx->host.ranlib)) > midwidth)
midwidth = len;
+ if ((len = strlen(cctx->host.windres)) > midwidth)
+ midwidth = len;
+
if ((len = strlen(cctx->host.dlltool)) > midwidth)
midwidth = len;
@@ -98,6 +101,9 @@ int slbt_output_config(const struct slbt_driver_ctx * dctx)
if (slbt_output_config_line(fdout,"ranlib",cctx->host.ranlib,cctx->cfgmeta.ranlib,midwidth))
return SLBT_SYSTEM_ERROR(dctx);
+ if (slbt_output_config_line(fdout,"windres",cctx->host.windres,cctx->cfgmeta.windres,midwidth))
+ return SLBT_SYSTEM_ERROR(dctx);
+
if (slbt_output_config_line(fdout,"dlltool",cctx->host.dlltool,cctx->cfgmeta.dlltool,midwidth))
return SLBT_SYSTEM_ERROR(dctx);