Commit 3df1c510 authored by Committed by Austin Seipp
Extract derived constants from nm output for various OSes differently.
Fixes #8783. In order to avoid querying the nm version that does not work on Mac OS X we use the "nm -P" output that is supposed to produce (more portable) POSIX output and works on all tested OSes (MinGW, Mac OS X, Solaris and Linux using GNU nm) although slightly different (as documented). The "nm -P" output is actually only needed to recognize the output of a non-GNU Solaris nm (all other OSes produce sane outut using "nm" only). Signed-off-by: Austin Seipp <firstname.lastname@example.org>
Showing with 15 additions and 22 deletions