diff options
-rwxr-xr-x | scripts/macosx-sanity-check.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/macosx-sanity-check.py b/scripts/macosx-sanity-check.py index 3938d74..22c2af0 100755 --- a/scripts/macosx-sanity-check.py +++ b/scripts/macosx-sanity-check.py @@ -107,6 +107,9 @@ if __name__ == '__main__': deps = find_dependencies(dep) assert(deps) for d in deps: + if not re.match(executable_path, d): + print "Error: External dependency " + d + sys.exit(1) absfile = lookup_library(d) if absfile == None: print "Not found: " + d |