From 2611275c5f0a180c96963c9b1c4d2f1d76a04b5d Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 16 Feb 2024 05:54:17 +0000 Subject: driver: host.ar, host.ranlib: added support for tool-specific argument vector. --- src/internal/slibtool_lconf_impl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/internal/slibtool_lconf_impl.c') diff --git a/src/internal/slibtool_lconf_impl.c b/src/internal/slibtool_lconf_impl.c index 88dc873..5daa2f4 100644 --- a/src/internal/slibtool_lconf_impl.c +++ b/src/internal/slibtool_lconf_impl.c @@ -799,7 +799,7 @@ int slbt_get_lconf_flags( /* ar tool */ if (!ctx->cctx.host.ar) { - if (slbt_get_lconf_var(addr,cap,"AR=",0,&val) < 0) + if (slbt_get_lconf_var(addr,cap,"AR=",0x20,&val) < 0) return SLBT_CUSTOM_ERROR( dctx,SLBT_ERR_LCONF_PARSE); @@ -812,7 +812,7 @@ int slbt_get_lconf_flags( /* ranlib tool */ if (!ctx->cctx.host.ranlib) { - if (slbt_get_lconf_var(addr,cap,"RANLIB=",0,&val) < 0) + if (slbt_get_lconf_var(addr,cap,"RANLIB=",0x20,&val) < 0) return SLBT_CUSTOM_ERROR( dctx,SLBT_ERR_LCONF_PARSE); -- cgit v1.2.3