diff options
author | midipix <writeonce@midipix.org> | 2024-03-29 03:55:26 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-03-29 03:55:26 +0000 |
commit | 55e42f2954ccd98e75706743e46e560a78f58fff (patch) | |
tree | ce0d78babd17139941aa53c9c811980b39d50e3a | |
parent | 6aa833daed98ec60e8e95efe35d5ecd33b8b02f9 (diff) | |
download | slibtool-55e42f2954ccd98e75706743e46e560a78f58fff.tar.bz2 slibtool-55e42f2954ccd98e75706743e46e560a78f58fff.tar.xz |
slbt_init_host_params(): cfgmeta: mark tools derived from ranlib as such.
-rw-r--r-- | src/host/slbt_host_params.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/host/slbt_host_params.c b/src/host/slbt_host_params.c index 39272ef..d947b14 100644 --- a/src/host/slbt_host_params.c +++ b/src/host/slbt_host_params.c @@ -24,6 +24,7 @@ /* annotation strings */ static const char cfgexplicit[] = "command-line argument"; static const char cfghost[] = "derived from <host>"; +static const char cfgranlib[] = "derived from <ranlib>"; static const char cfgtarget[] = "derived from <target>"; static const char cfgcompiler[] = "derived from <compiler>"; static const char cfgnmachine[] = "native (cached in ccenv/host.mk)"; @@ -354,6 +355,7 @@ slbt_hidden int slbt_init_host_params( if (mark) { strcpy(drvhost->as,host->ranlib); strcpy(&drvhost->as[mark-host->ranlib],"as"); + cfgmeta->as = cfgranlib; } } @@ -428,6 +430,7 @@ slbt_hidden int slbt_init_host_params( if (mark) { strcpy(drvhost->windres,host->ranlib); strcpy(&drvhost->windres[mark-host->ranlib],"windres"); + cfgmeta->windres = cfgranlib; } } @@ -466,6 +469,7 @@ slbt_hidden int slbt_init_host_params( if (mark) { strcpy(drvhost->dlltool,host->ranlib); strcpy(&drvhost->dlltool[mark-host->ranlib],"dlltool"); + cfgmeta->dlltool = cfgranlib; } } |