Skip to content

Commit

Permalink
Make sure to split pkg_config libs
Browse files Browse the repository at this point in the history
  • Loading branch information
refi64 committed Jan 22, 2018
1 parent ce48132 commit e14dcc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fbuild/builders/pkg_config.py
Expand Up @@ -34,7 +34,7 @@ def cflags(self, components=(), *args, **kwargs):

def libs(self, components=(), *args, **kwargs):
"""Return linker flags needed for linking against the given package."""
return self(tuple(chain(('--libs',), components)), *args, **kwargs)
return self(tuple(chain(('--libs',), components)), *args, **kwargs).split(' ')

@fbuild.db.cachemethod
def require_version(self, requires_version=None,
Expand Down

0 comments on commit e14dcc6

Please sign in to comment.