Commit Graph
8 Commits
Author SHA1 Message Date
Reilly Brogan 24439d01be [check-libstdc++] Only inspect direct DT_NEEDED entries (#6592)
ldd prints the full transitive dependency closure, so the check fails when a
dependency of a dependency links C++ (for example cairo -> fontconfig ->
libxml2 -> ICU), even though HarfBuzz itself has no libstdc++/libc++ NEEDED
entry. When readelf (or llvm-readelf) is available, inspect the library's own
(NEEDED) entries and check every exported library, including harfbuzz-cairo
and harfbuzz-icu. Without either tool, keep the ldd/otool closure check but
skip those two, whose closure is known to contain libstdc++.
2026-11-07 13:26:37 -06:00
Behdad Esfahbod 6add360dbf Fix check libraries (#5812)
* Centralize check library lists

* Hide internal raster helper symbols
2026-03-09 22:37:07 -06:00
Khaled Hosny 77c24e8a0e [check-*.py] Remove autotoolism
Instead of passing source dir and build dir to as envvars, pass
them directly as script arguments. The scripts also were supposed to be
able to run outsize of the build scripts, but this was broken since the
fallback when the envvars were not set was wrong.

The HBSOURCES and HBHEADERS are still passed as envvars since they are
long lists and might hit command line length limitation on some systems.
2025-05-06 13:17:13 +03:00
Khaled Hosny d403529211 [check-*.py] Format 2025-05-06 12:49:45 +03:00
Behdad Esfahbod 34aa8b0148 [cairo] Add to library tests 2022-12-26 17:01:08 -07:00
Behdad Esfahbod 13c6ad980f [src/check-*] Pickup $(NM), $(OBJDUMP), $(LDD), $(OTOOL)
Fixes https://github.com/harfbuzz/harfbuzz/issues/3019
2021-06-12 10:13:49 -07:00
Ebrahim Byagowi a07672d353 [py] minor, replace os.environ.get with os.getenv 2020-07-04 16:16:15 +04:30
Ebrahim Byagowi 7250adee26 [tests] Port check scripts to python 2020-05-30 13:55:47 +04:30