commit | 3eab2b7675fc7e2889cd69285a2a31980a4bf504 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Thu Sep 12 00:29:40 2013 -0400 |
committer | Mike Frysinger <vapier@gentoo.org> | Sat Sep 28 18:40:07 2013 -0400 |
tree | 2813623a17310159f747aba2ddfd49005d960295 | |
parent | 054f3eb7848230702b149a7e17f05314cb0157cb [diff] |
trylink: only prefix libs with -l If our pkg-config queries pass back a flag like -pthread, the trylink script will expand that to -l-pthread. So change trylink to only add the -l prefix to a value that doesn't have a - prefix already. Reported-by: thaehaid@incognitomail.org Signed-off-by: Mike Frysinger <vapier@gentoo.org>