diff options
author | midipix <writeonce@midipix.org> | 2018-10-21 20:58:08 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-10-21 21:49:54 -0400 |
commit | dc48ad4836a2aaaa7c5058b008937a102945ed85 (patch) | |
tree | 0c093279e01f43557b82668915f704f9d20608b7 /src/logic | |
parent | 3ead954b0d2ce58f8836487ee3a5e48acb45a866 (diff) | |
download | slibtool-dc48ad4836a2aaaa7c5058b008937a102945ed85.tar.bz2 slibtool-dc48ad4836a2aaaa7c5058b008937a102945ed85.tar.xz |
slbt_exec_link_finalize_argument_vector(): properly handle local archives.
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/slbt_exec_link.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c index 0648d29..f3c292f 100644 --- a/src/logic/slbt_exec_link.c +++ b/src/logic/slbt_exec_link.c @@ -644,6 +644,10 @@ static int slbt_exec_link_finalize_argument_vector( *oarg++ = *parg++; *oarg++ = *parg++; *oarg++ = *parg++; + + } else if (dot && !strcmp(dot,arsuffix)) { + *oarg++ = *parg++; + } else { *aarg++ = *parg++; } |