[clang] [flang][driver] Don't use -whole-archive on Darwin (PR #75393)
Leandro Lupori via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 14 05:07:59 PST 2023
luporl wrote:
Some sources (https://stackoverflow.com/questions/16082470/osx-how-do-i-convert-a-static-library-to-a-dynamic-one) suggest the use of `-force_load`:
```
-force_load path_to_archive
Loads all members of the specified static archive library. Note: -all_load forces all members of all archives to be
loaded. This option allows you to target a specific archive.
```
https://github.com/llvm/llvm-project/pull/75393
More information about the cfe-commits
mailing list