From 9a02e2b279c811545fbbaed99041b3171d64bb84 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 11 Jul 2018 08:46:55 -0400 Subject: driver: added --windres support. --- src/output/slbt_output_config.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/output') 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); -- cgit v1.2.3