[check-static-inits] Only check library object files

This commit is contained in:
Behdad Esfahbod 2022-01-13 13:12:10 -07:00
parent 1e27f95dc1
commit 98b26eedf5
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ if sys.version_info < (3, 5):
print ('check-static-inits.py: needs python 3.5 for recursive support in glob')
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:
print ('check-static-inits.py: object files not found; skipping test')
sys.exit (77)