diff --git a/ext/toolchain/commands1.py b/ext/toolchain/commands1.py index a051ee14..9f8149c2 100644 --- a/ext/toolchain/commands1.py +++ b/ext/toolchain/commands1.py @@ -1376,6 +1376,9 @@ class InternalCommands: return filename def findLibraryFile(self, type, dir, name): + if not os.path.exists(dir): + return None + (platform, packageExt, libraryExt) = self.getDistributePlatformInfo(type) ext = libraryExt