diff options
author | midipix <writeonce@midipix.org> | 2016-09-26 18:29:59 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-09-26 18:29:59 -0400 |
commit | d22d016db5fbc087602327ca99cb45b0a1c08c43 (patch) | |
tree | fff790df5878de5b5a7e5fc78620d999f40e28ba /src | |
parent | aa2f591bad2cee5c7565212780c8683bd96ee292 (diff) | |
download | slibtool-d22d016db5fbc087602327ca99cb45b0a1c08c43.tar.bz2 slibtool-d22d016db5fbc087602327ca99cb45b0a1c08c43.tar.xz |
link mode: -L.libs for current-directory .la input argument: the missing bits.
Diffstat (limited to 'src')
-rw-r--r-- | src/logic/slbt_exec_link.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c index 3c72f6d..a9d0603 100644 --- a/src/logic/slbt_exec_link.c +++ b/src/logic/slbt_exec_link.c @@ -423,6 +423,7 @@ static int slbt_exec_link_adjust_argument_vector( if (!(strncmp(lib,".libs/",6))) { *aarg++ = "-L.libs"; + lib[1] = 0; } else if ((base = strrchr(lib,'/'))) { if (base - lib == 5) { if (!(strncmp(&base[-5],".libs/",6))) |