From 4f56fd184ef6020626492a6f954a486d54f8b7ba Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 13 Jul 2016 19:56:06 -0400 Subject: slbt_exec_link_create_dep_file(): account for -f{option}=libfoo.la. --- src/logic/slbt_exec_link.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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,'/'))) -- cgit v1.2.3