diff options
author | midipix <writeonce@midipix.org> | 2016-07-13 19:56:06 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-07-13 19:56:06 -0400 |
commit | 4f56fd184ef6020626492a6f954a486d54f8b7ba (patch) | |
tree | bd6df968cf86100bc66fb387b61d1c30b0f4724a /src/logic | |
parent | a02c0eb75c9596e9e016f4a2dd6875fb01c92590 (diff) | |
download | slibtool-4f56fd184ef6020626492a6f954a486d54f8b7ba.tar.bz2 slibtool-4f56fd184ef6020626492a6f954a486d54f8b7ba.tar.xz |
slbt_exec_link_create_dep_file(): account for -f{option}=libfoo.la.
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/slbt_exec_link.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c index 6532bfb..31d32d3 100644 --- a/src/logic/slbt_exec_link.c +++ b/src/logic/slbt_exec_link.c @@ -498,6 +498,8 @@ static int slbt_exec_link_create_dep_file( } else if (!strncmp(*parg,"--library=",10)) { popt = *parg; plib = popt + 10; + } else if (!strncmp(*parg,"-f",2)) { + (void)0; } else if ((popt = strrchr(*parg,'.')) && !strcmp(popt,".la")) { /* import dependency list */ if ((base = strrchr(*parg,'/'))) |