diff options
author | midipix <writeonce@midipix.org> | 2025-06-16 17:51:16 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2025-06-16 17:51:16 +0000 |
commit | 6704d4790dfa6431cc6cbdbfd8b25bbb5996813f (patch) | |
tree | e5988308c6c9a1e6d8051c207de737f979d22ab6 /src/host/slbt_host_params.c | |
parent | 7dbb93fb71826953195824505d12d93780a4521a (diff) | |
download | slibtool-6704d4790dfa6431cc6cbdbfd8b25bbb5996813f.tar.bz2 slibtool-6704d4790dfa6431cc6cbdbfd8b25bbb5996813f.tar.xz |
slbt_init_host_params(): --mkvars=... code path: enable heuristics as needed.
Diffstat (limited to 'src/host/slbt_host_params.c')
-rw-r--r-- | src/host/slbt_host_params.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/host/slbt_host_params.c b/src/host/slbt_host_params.c index 8776507..e4e956d 100644 --- a/src/host/slbt_host_params.c +++ b/src/host/slbt_host_params.c @@ -100,7 +100,8 @@ slbt_hidden int slbt_init_host_params( const char * cfgmeta_as, const char * cfgmeta_nm, const char * cfgmeta_ranlib, - const char * cfgmeta_dlltool) + const char * cfgmeta_dlltool, + const char * mkvars) { int fdcwd; int arprobe; @@ -300,6 +301,8 @@ slbt_hidden int slbt_init_host_params( arprobe = true; } else if (cctx->mode == SLBT_MODE_INFO) { arprobe = true; + } else if (mkvars) { + arprobe = true; } else { arprobe = false; } @@ -663,7 +666,7 @@ int slbt_host_set_althost( &ictx->ctx.ahost, &ictx->ctx.cctx.ahost, &ictx->ctx.cctx.acfgmeta, - 0,0,0,0,0,0)) { + 0,0,0,0,0,0,0)) { slbt_free_host_params(&ictx->ctx.ahost); return SLBT_CUSTOM_ERROR(ctx,SLBT_ERR_HOST_INIT); } |