Follow-up Comment #5, sr #111069 (group libtool):

Actually, checking the behaviour of ld64 when it's given unknown flags isn't
hard:

```
❯ clang -xc - -Wl,-nonexistent_flag -o /dev/null <<<'int main(){}'
ld: unknown options: -nonexistent_flag
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
❯ echo $?
1
```

[comment #4 comment #4:]
> Now I wonder if a feature test might be better here in libtool, rather than
a linker version number test.

Yes, I suspect that might be more appropriate. But I don't do any libtool
development, so my opinion probably doesn't count for much.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?111069>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/


Reply via email to