From 8192235a926ca89160e11658a42d6a994c3a86da Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 28 Feb 2024 09:00:36 +0000 Subject: slbt_init_host_params(): slibtool-ar(1) command: default to native tools. --- src/host/slbt_host_params.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/host/slbt_host_params.c b/src/host/slbt_host_params.c index 5c862a4..1190f98 100644 --- a/src/host/slbt_host_params.c +++ b/src/host/slbt_host_params.c @@ -144,6 +144,11 @@ slbt_hidden int slbt_init_host_params( cfgmeta->host = cfgtarget; ftarget = true; + } else if (!strcmp(base,"slibtool-ar")) { + host->host = drvhost->machine; + cfgmeta->host = cfgnmachine; + fnative = true; + } else if (strrchr(base,'-')) { if (!(drvhost->host = strdup(cctx->cargv[0]))) return -1; -- cgit v1.2.3