summaryrefslogtreecommitdiff
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-07-13 19:56:06 -0400
committermidipix <writeonce@midipix.org>2016-07-13 19:56:06 -0400
commit4f56fd184ef6020626492a6f954a486d54f8b7ba (patch)
treebd6df968cf86100bc66fb387b61d1c30b0f4724a /src/logic
parenta02c0eb75c9596e9e016f4a2dd6875fb01c92590 (diff)
downloadslibtool-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.c2
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,'/')))