From 68760b855037f8f5d03c99db3e5b646674d9cfe6 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 13 Feb 2024 16:32:45 +0000 Subject: slbt_get_lconf_flags(): make the dlltool related comparison more concise. --- src/internal/slibtool_lconf_impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/internal') diff --git a/src/internal/slibtool_lconf_impl.c b/src/internal/slibtool_lconf_impl.c index c6c2f2a..4956b24 100644 --- a/src/internal/slibtool_lconf_impl.c +++ b/src/internal/slibtool_lconf_impl.c @@ -808,7 +808,7 @@ int slbt_get_lconf_flags( /* dlltool tool (optional) */ if (!ctx->cctx.host.dlltool) { - if (slbt_get_lconf_var(addr,cap,"DLLTOOL=",&val) >= 0) { + if (!slbt_get_lconf_var(addr,cap,"DLLTOOL=",&val)) { if (val[0] && !(ctx->host.dlltool = strdup(val))) return SLBT_SYSTEM_ERROR(dctx,0); -- cgit v1.2.3