diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-09-07 09:37:42 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-09-07 09:37:42 +0200 |
commit | 17c1214943959b304ab5cdcccacec8a70c7a6c0f (patch) | |
tree | 3ead6c0655e543cb76895af2df7576761179ee89 /libbuild2/cc/types.cxx | |
parent | f221ca94a304abaa79239cf2cbaf3ffafbbc092c (diff) |
Search for .tbd in addition to .dylib in Mac OS
Besides .dylib, Mac OS now also has "text-based stub libraries"
that use the .tbd extension. They appear to be similar to
Windows import libraries and contain information such as the
location of the .dylib library, its symbols, etc. For example,
there is /Library/.../MacOSX13.3.sdk/usr/lib/libsqlite3.tbd
which points to /usr/lib/libsqlite3.dylib (but which itself is
invisible/inaccessible, presumably for security).
Note that for now we are treating the .tbd library as the
shared library but could probably do the more elaborate dance
with ad hoc members like on Windows if really necessary.
Diffstat (limited to 'libbuild2/cc/types.cxx')
0 files changed, 0 insertions, 0 deletions