summaryrefslogtreecommitdiff
path: root/source/API/SBModuleSpec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/API/SBModuleSpec.cpp')
-rw-r--r--source/API/SBModuleSpec.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/API/SBModuleSpec.cpp b/source/API/SBModuleSpec.cpp
index afabd9ace2b9..65492f58b015 100644
--- a/source/API/SBModuleSpec.cpp
+++ b/source/API/SBModuleSpec.cpp
@@ -114,7 +114,8 @@ SBModuleSpecList::~SBModuleSpecList() {}
SBModuleSpecList SBModuleSpecList::GetModuleSpecifications(const char *path) {
SBModuleSpecList specs;
- FileSpec file_spec(path, true);
+ FileSpec file_spec(path);
+ FileSystem::Instance().Resolve(file_spec);
Host::ResolveExecutableInBundle(file_spec);
ObjectFile::GetModuleSpecifications(file_spec, 0, 0, *specs.m_opaque_ap);
return specs;