diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2021-12-12 13:49:24 +0100 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2021-12-12 13:53:59 +0100 |
| commit | 4ce62087502c2b1eca7d5721f3face5bc4fe538b (patch) | |
| tree | c644b3255c21b351dad5cbad657a838762e3aa43 /lib/libc/include/powerpc-linux-gnu | |
| parent | 1abae064325112895de8324bf230c7cb5cdb2711 (diff) | |
| download | zig-4ce62087502c2b1eca7d5721f3face5bc4fe538b.tar.gz zig-4ce62087502c2b1eca7d5721f3face5bc4fe538b.zip | |
macho: if lib or framework not found, wait until syms resolved
This way, we will inform the user that there are unresolved symbols
in addition to missing library/framework as requested on the linker
line. If all symbols were resolved on the other hand, we still
flag up that the library/framework cannot be found.
Example behaviour:
```
$ zig cc hello.c -framework MyFoundation --verbose
warning(link): framework not found for '-framework MyFoundation'
warning(link): Framework search paths:
warning(link): /Library/Frameworks
warning(link): /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks
thread 1079397 panic: attempt to unwrap error: FrameworkNotFound
...stack trace...
```
and
```
❯ zig cc hello.c -lWAT --verbose
warning(link): library not found for '-lWAT'
warning(link): Library search paths:
warning(link): /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib
warning(link): /usr/local/lib
thread 1079824 panic: attempt to unwrap error: LibraryNotFound
...stack trace...
```
Diffstat (limited to 'lib/libc/include/powerpc-linux-gnu')
0 files changed, 0 insertions, 0 deletions
