fix fltk-config interpretation

This commit is contained in:
rdb 2011-04-14 11:25:23 +00:00
parent 433f5404b5
commit ca21801bb1

View File

@ -994,7 +994,7 @@ def PkgConfigGetLibs(pkgname, tool = "pkg-config"):
handle.close()
libs = []
for l in result.split(" "):
if l.startswith("-l"):
if l.startswith("-l") or not l.startswith("-"):
libs.append(l)
return libs