From f7fd58de8aea0e2336e0c1216452254462203dde Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Wed, 6 Feb 2013 14:32:59 -0500 Subject: Fail on external non-system dependency 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 -- cgit v0.10.1