summaryrefslogtreecommitdiff
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-19 02:50:41 +0000
committermidipix <writeonce@midipix.org>2024-02-19 02:59:32 +0000
commit4373b876273680b58ab1745a203b8bfc53f1de9d (patch)
treeee01922e8956560093106871864723b39c2dfac9 /src/logic
parent932ec07826884a89addd9d0f3b436748dba65881 (diff)
downloadslibtool-4373b876273680b58ab1745a203b8bfc53f1de9d.tar.bz2
slibtool-4373b876273680b58ab1745a203b8bfc53f1de9d.tar.xz
library api's: _host_ (host and flavor interfaces) namespace overhaul.
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/slbt_exec_install.c2
-rw-r--r--src/logic/slbt_exec_link.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/logic/slbt_exec_install.c b/src/logic/slbt_exec_install.c
index bca494b..dc311f8 100644
--- a/src/logic/slbt_exec_install.c
+++ b/src/logic/slbt_exec_install.c
@@ -537,7 +537,7 @@ static int slbt_exec_install_entry(
/* symlink-based alternate host */
if (!fstatic) {
- if (slbt_set_alternate_host(dctx,host,host))
+ if (slbt_host_set_althost(dctx,host,host))
return SLBT_NESTED_ERROR(dctx);
fpe = !strcmp(dctx->cctx->asettings.imagefmt,"pe");
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c
index e2848ea..e721bc6 100644
--- a/src/logic/slbt_exec_link.c
+++ b/src/logic/slbt_exec_link.c
@@ -254,7 +254,7 @@ int slbt_exec_link(
if (fstaticonly && dot && !strcmp(dot,".la")) {
const struct slbt_flavor_settings * dflavor;
- if (slbt_get_flavor_settings("default",&dflavor) < 0)
+ if (slbt_host_flavor_settings("default",&dflavor) < 0)
return SLBT_CUSTOM_ERROR(dctx,SLBT_ERR_LINK_FLOW);
if (strcmp(dctx->cctx->settings.dsosuffix,dflavor->dsosuffix)) {
@@ -319,7 +319,7 @@ int slbt_exec_link(
if (dot && !strcmp(dot,".la") && dctx->cctx->rpath && !fstaticonly) {
const struct slbt_flavor_settings * dflavor;
- if (slbt_get_flavor_settings("default",&dflavor) < 0)
+ if (slbt_host_flavor_settings("default",&dflavor) < 0)
return SLBT_CUSTOM_ERROR(dctx,SLBT_ERR_LINK_FLOW);
/* -shrext support */