summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cerbero/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cerbero/config.py b/cerbero/config.py
index 927c7c16..2fa1db8d 100644
--- a/cerbero/config.py
+++ b/cerbero/config.py
@@ -322,7 +322,7 @@ class Config (object):
ld_library_path = self._join_path(
os.path.join(self.build_tools_prefix, 'lib'), path)
if not self.cross_compiling():
- ld_library_path = self._join_path(ld_library_path, libdir)
+ ld_library_path = self._join_path(libdir, ld_library_path)
if self.extra_lib_path is not None:
ld_library_path = self._join_path(ld_library_path, self.extra_lib_path)
if self.toolchain_prefix is not None: