diff options
author | midipix <writeonce@midipix.org> | 2024-02-17 01:31:37 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-17 01:31:37 +0000 |
commit | b75e41ac1c90710f85f95f58b81033b3eecbc265 (patch) | |
tree | cc37a1fa0bddeb8c656b61a5a91d843406575a9b /src/logic/slbt_exec_ar.c | |
parent | ad18a6c60e23f99c9eae6351756653d860e727df (diff) | |
download | slibtool-b75e41ac1c90710f85f95f58b81033b3eecbc265.tar.bz2 slibtool-b75e41ac1c90710f85f95f58b81033b3eecbc265.tar.xz |
ar mode: utility: integrated armap symbol printing via -Wprint=symbols.
Diffstat (limited to 'src/logic/slbt_exec_ar.c')
-rw-r--r-- | src/logic/slbt_exec_ar.c | 4 |
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) { |