14 lines
795 B
Text
14 lines
795 B
Text
# Minimal link-time stub for macOS Security.framework -- calog cross build (tools/crossMacFull.sh).
|
|
#
|
|
# zig 0.16's Mach-O linker segfaults parsing the real SDK Security.tbd. calog links against this
|
|
# hand-written stub instead: it exports ONLY the Security symbols httpLoadMacRoots uses (see
|
|
# libs/calogHttp.c), so the resulting binary imports the real system framework by install-name at
|
|
# runtime on macOS. Headers still come from the real SDK at compile time; link-time only. ASCII only.
|
|
--- !tapi-tbd
|
|
tbd-version: 4
|
|
targets: [ x86_64-macos, arm64-macos ]
|
|
install-name: '/System/Library/Frameworks/Security.framework/Versions/A/Security'
|
|
exports:
|
|
- targets: [ x86_64-macos, arm64-macos ]
|
|
symbols: [ _SecTrustCopyAnchorCertificates, _SecCertificateCopyData ]
|
|
...
|