mirror of
https://github.com/frida/frida-core.git
synced 2026-11-09 17:12:24 -10:00
Modern LLVM/LLD linkers are stricter about undefined symbols in version scripts. Some of our executable version scripts referenced FreeBSD-specific symbols (__progname and environ), which older linkers silently ignored but newer ones reject. Fix this by providing a FreeBSD-specific version script and selecting it in Meson when targeting FreeBSD. Also centralize the linker scripts used for executables that export no symbols into tools/, and reuse them across targets instead of duplicating identical files.