summaryrefslogtreecommitdiffhomepage
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-17 01:31:37 +0000
committermidipix <writeonce@midipix.org>2024-02-17 01:31:37 +0000
commitb75e41ac1c90710f85f95f58b81033b3eecbc265 (patch)
treecc37a1fa0bddeb8c656b61a5a91d843406575a9b /src/logic
parentad18a6c60e23f99c9eae6351756653d860e727df (diff)
downloadslibtool-b75e41ac1c90710f85f95f58b81033b3eecbc265.tar.bz2
slibtool-b75e41ac1c90710f85f95f58b81033b3eecbc265.tar.xz
ar mode: utility: integrated armap symbol printing via -Wprint=symbols.
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/slbt_exec_ar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_ar.c b/src/logic/slbt_exec_ar.c
index 9b400af..c808421 100644
--- a/src/logic/slbt_exec_ar.c
+++ b/src/logic/slbt_exec_ar.c
@@ -99,6 +99,10 @@ static int slbt_exec_ar_perform_archive_actions(
if (dctx->cctx->fmtflags & SLBT_OUTPUT_ARCHIVE_MEMBERS)
if (slbt_ar_output_members((*arctxp)->meta) < 0)
return SLBT_NESTED_ERROR(dctx);
+
+ if (dctx->cctx->fmtflags & SLBT_OUTPUT_ARCHIVE_SYMBOLS)
+ if (slbt_ar_output_symbols((*arctxp)->meta) < 0)
+ return SLBT_NESTED_ERROR(dctx);
}
if (dctx->cctx->drvflags & SLBT_DRIVER_MODE_AR_MERGE) {