diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-04-30 12:23:47 +0200 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-05-06 16:03:10 +0200 |
commit | 09d4bc51a7fb57d84fe25f108f5431eb40101492 (patch) | |
tree | 49a2f24ab32dff8523dac5a0e9a1f3aed99c8bd3 | |
parent | c042f468fc2350b939b7bdc99d16d6b7b49ca4f0 (diff) |
config: add include and lib search paths for the toolchain too
-rw-r--r-- | cerbero/config.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cerbero/config.py b/cerbero/config.py index eb3ab7e..eb5f6c2 100644 --- a/cerbero/config.py +++ b/cerbero/config.py @@ -213,6 +213,12 @@ class Config (object): ld_library_path = libdir else: ld_library_path = "" + if self.toolchain_prefix is not None: + ld_library_path = self._join_path(ld_library_path, + os.path.join(self.toolchain_prefix, 'lib')) + includedir = self._join_path(includedir, + os.path.join(self.toolchain_prefix, 'include')) + # Most of these variables are extracted from jhbuild env = {'LD_LIBRARY_PATH': ld_library_path, |