Use -Wl,-exported_symbols_list,arg rather than -Wl,-exported_symbols_list arg
(and similarly for --version-script) when passing the flag to the clang or gcc linkers. On MacOS in particular, the previous code sometimes gave the error: ld: can't open -exported_symbols_list file: -filelist PiperOrigin-RevId: 234264364
Loading
Please sign in to comment