From 4f56fd184ef6020626492a6f954a486d54f8b7ba Mon Sep 17 00:00:00 2001 From: midipix Date: Jul 13 2016 23:56:06 +0000 Subject: slbt_exec_link_create_dep_file(): account for -f{option}=libfoo.la. --- 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,'/')))