diff --git a/doomsday/sdk/libcore/src/filesys/package.cpp b/doomsday/sdk/libcore/src/filesys/package.cpp index e5fe92771c..36f9baddc9 100644 --- a/doomsday/sdk/libcore/src/filesys/package.cpp +++ b/doomsday/sdk/libcore/src/filesys/package.cpp @@ -85,8 +85,13 @@ DENG2_PIMPL(Package) ArrayValue const &imp = self.info().geta(PACKAGE_IMPORT_PATH); DENG2_FOR_EACH_CONST(ArrayValue::Elements, i, imp.elements()) { - // The import paths are relative to the package root, and must exist. - paths << self.root().locate((*i)->asText()).path(); + Path importPath = (*i)->asText(); + if(!importPath.isAbsolute()) + { + // Relative to the package root, and must exist. + importPath = self.root().locate(importPath).path(); + } + paths << importPath; } } return paths;