mirror of
https://github.com/frida/frida-core.git
synced 2026-11-10 01:51:27 -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.
5 lines
21 B
Plaintext
5 lines
21 B
Plaintext
{
|
|
local:
|
|
*;
|
|
};
|