summaryrefslogtreecommitdiff
path: root/src/logic/slbt_exec_link.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-03-14 20:40:34 +0000
committermidipix <writeonce@midipix.org>2024-03-14 20:40:34 +0000
commit7c3e61cef2f522ad4008682c5b7671eeee2bf0e5 (patch)
treeee65b80d4d403f1a04b7ca3eb2dadf9f98375856 /src/logic/slbt_exec_link.c
parenteac61a9b72fe08c4304722f8aa59edacbddc4fd8 (diff)
downloadslibtool-7c3e61cef2f522ad4008682c5b7671eeee2bf0e5.tar.bz2
slibtool-7c3e61cef2f522ad4008682c5b7671eeee2bf0e5.tar.xz
link mode: do not create dependency files for explicit archive outputs.
Diffstat (limited to 'src/logic/slbt_exec_link.c')
-rw-r--r--src/logic/slbt_exec_link.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c
index 0509047..50709d3 100644
--- a/src/logic/slbt_exec_link.c
+++ b/src/logic/slbt_exec_link.c
@@ -205,7 +205,7 @@ int slbt_exec_link(const struct slbt_driver_ctx * dctx)
/* non-pic libfoo.a */
if (dot && !strcmp(dot,".a"))
- if (slbt_exec_link_create_archive(dctx,ectx,output,false)) {
+ if (slbt_exec_link_create_archive(dctx,ectx,output,false,false)) {
slbt_ectx_free_exec_ctx(ectx);
return SLBT_NESTED_ERROR(dctx);
}
@@ -258,7 +258,7 @@ int slbt_exec_link(const struct slbt_driver_ctx * dctx)
if (slbt_exec_link_create_archive(
dctx,ectx,
ectx->arfilename,
- fpic)) {
+ fpic,true)) {
slbt_ectx_free_exec_ctx(ectx);
return SLBT_NESTED_ERROR(dctx);
}