[check-static-inits] Only check library object files
This commit is contained in:
parent
1e27f95dc1
commit
98b26eedf5
|
@ -14,7 +14,7 @@ if sys.version_info < (3, 5):
|
||||||
print ('check-static-inits.py: needs python 3.5 for recursive support in glob')
|
print ('check-static-inits.py: needs python 3.5 for recursive support in glob')
|
||||||
sys.exit (77)
|
sys.exit (77)
|
||||||
|
|
||||||
OBJS = glob.glob (os.path.join (builddir, libs, '**', '*.o'), recursive=True)
|
OBJS = glob.glob (os.path.join (builddir, libs, '**', 'hb*.o'), recursive=True)
|
||||||
if not OBJS:
|
if not OBJS:
|
||||||
print ('check-static-inits.py: object files not found; skipping test')
|
print ('check-static-inits.py: object files not found; skipping test')
|
||||||
sys.exit (77)
|
sys.exit (77)
|
||||||
|
|
Loading…
Reference in New Issue