summaryrefslogtreecommitdiff
path: root/src/internal/slibtool_lconf_impl.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-16 05:54:17 +0000
committermidipix <writeonce@midipix.org>2024-02-16 05:59:56 +0000
commit2611275c5f0a180c96963c9b1c4d2f1d76a04b5d (patch)
tree122822fb588318e0a9968c5a98d3c94c4e67c6a4 /src/internal/slibtool_lconf_impl.c
parentd895920cf970aa2f8a23530334e1eebd649cc615 (diff)
downloadslibtool-2611275c5f0a180c96963c9b1c4d2f1d76a04b5d.tar.bz2
slibtool-2611275c5f0a180c96963c9b1c4d2f1d76a04b5d.tar.xz
driver: host.ar, host.ranlib: added support for tool-specific argument vector.
Diffstat (limited to 'src/internal/slibtool_lconf_impl.c')
-rw-r--r--src/internal/slibtool_lconf_impl.c4
1 files changed, 2 insertions, 2 deletions
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);