summaryrefslogtreecommitdiff
path: root/src/arbits/output/slbt_au_output_symbols.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-20 03:36:21 +0000
committermidipix <writeonce@midipix.org>2024-02-20 03:36:21 +0000
commitdb80f8870d6922462e7073f7da1140140087ca76 (patch)
tree78adae56f330a2e96e6a12a085654e7df82e8854 /src/arbits/output/slbt_au_output_symbols.c
parente19ed2cad513f7d77ff53979345ae2e54552c96c (diff)
downloadslibtool-db80f8870d6922462e7073f7da1140140087ca76.tar.bz2
slibtool-db80f8870d6922462e7073f7da1140140087ca76.tar.xz
slbt_au_output_symbols_posix(): treat AR_OBJECT_ATTR_COFF as an or'able attr.
Diffstat (limited to 'src/arbits/output/slbt_au_output_symbols.c')
-rw-r--r--src/arbits/output/slbt_au_output_symbols.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arbits/output/slbt_au_output_symbols.c b/src/arbits/output/slbt_au_output_symbols.c
index 2e9d6c7..7b51a81 100644
--- a/src/arbits/output/slbt_au_output_symbols.c
+++ b/src/arbits/output/slbt_au_output_symbols.c
@@ -35,7 +35,7 @@ static int slbt_au_output_symbols_posix(
fdout = fdctx->fdout;
fsort = !(dctx->cctx->fmtflags & SLBT_OUTPUT_ARCHIVE_NOSORT);
- fcoff = (mctx->ofmtattr == AR_OBJECT_ATTR_COFF);
+ fcoff = (mctx->ofmtattr & AR_OBJECT_ATTR_COFF);
if (fsort && !mctx->mapstrv)
if (slbt_update_mapstrv(dctx,mctx) < 0)