Mike Frysinger 3eab2b7675 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>
2013-09-28 18:40:07 -04:00
..
2010-01-25 13:39:24 +01:00
2007-12-02 08:35:37 +00:00
2010-11-06 22:17:30 +01:00
2007-09-27 10:08:02 +00:00
2008-07-12 23:02:43 +00:00
2010-07-09 01:25:36 +02:00
2010-07-26 01:49:12 +02:00
2010-07-26 01:49:12 +02:00
2009-10-08 14:35:37 +02:00
2010-10-19 12:49:51 +02:00
2008-12-01 12:38:36 +00:00
2010-07-09 01:25:36 +02:00
2013-09-28 18:40:07 -04:00