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

Michael Niedermayer michael at niedermayer.cc
Thu Mar 10 19:30:39 CET 2016


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 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

LGTM

thx


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160310/16fa9ecc/attachment.sig>


More information about the ffmpeg-devel mailing list