Re: [FFmpeg-devel] [PATCH] configure: make sure check_func_headers tests work with dead code stripping

2016-03-10 Thread Michael Niedermayer
On Thu, Jan 28, 2016 at 09:07:51PM -0600, Rodger Combs wrote: > OSX's ld's -Wl,-dead_strip is applied before symbols are resolved, so if the > check functions aren't called, they're stripped out and the test is useless. > This calls the functions, so they won't be stripped. > --- > configure | 6

[FFmpeg-devel] [PATCH] configure: make sure check_func_headers tests work with dead code stripping

2016-01-28 Thread Rodger Combs
OSX's ld's -Wl,-dead_strip is applied before symbols are resolved, so if the check functions aren't called, they're stripped out and the test is useless. This calls the functions, so they won't be stripped. --- configure | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git