summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cerbero/ide/pkgconfig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cerbero/ide/pkgconfig.py b/cerbero/ide/pkgconfig.py
index a4972709..c12716f2 100644
--- a/cerbero/ide/pkgconfig.py
+++ b/cerbero/ide/pkgconfig.py
@@ -91,8 +91,8 @@ class PkgConfig(object):
for p in d:
if not os.path.isabs(p):
raise FatalError("pkg-config file %s contains relative include dir %s" % (pc, p))
-
- include_dirs.extend(pkgconfig.include_dirs())
+ # Normalize before appending
+ include_dirs.append(os.path.abspath(p))
return list(set(include_dirs))
@staticmethod