diff options
author | midipix <writeonce@midipix.org> | 2024-02-28 09:00:36 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-28 09:00:36 +0000 |
commit | 8192235a926ca89160e11658a42d6a994c3a86da (patch) | |
tree | 429e54d8e275b4d3022517ff6aef2ce83d188210 /src/host | |
parent | 53c0ff4390d17c84205aaf87d66373caecc9046f (diff) | |
download | slibtool-8192235a926ca89160e11658a42d6a994c3a86da.tar.bz2 slibtool-8192235a926ca89160e11658a42d6a994c3a86da.tar.xz |
slbt_init_host_params(): slibtool-ar(1) command: default to native tools.
Diffstat (limited to 'src/host')
-rw-r--r-- | src/host/slbt_host_params.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; |