diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-02-15 13:44:04 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-02-15 13:45:26 +0900 |
commit | 413120e58178a140e44e39ae79b7ec39f7ee0cbf (patch) | |
tree | 16da028a7029df97865eec168ce450cea437df25 /random.c | |
parent | fba8f7783bea8f717c19094f01d513e846fd4247 (diff) | |
download | ruby-413120e58178a140e44e39ae79b7ec39f7ee0cbf.tar.gz |
Do not use `objcopy` on macOS
On macOS, it is not used to localize symbols in dynamic libraries
(libruby.dylib and libyjit.o). Instead, using `objcopy` which does
not support recent mach-O causes linker errors as bellow.
```
linking shared-library libruby.3.3.dylib
error: cannot parse the debug map for 'libruby.3.3.dylib': Invalid data was encountered while parsing the file
linking ruby
ld: malformed mach-o: LC_*_DYLIB load command string extends beyond end of load command file './libruby.3.3.dylib'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```
Diffstat (limited to 'random.c')
0 files changed, 0 insertions, 0 deletions