[MPlayer-cvslog] r37617 - trunk/configure

reimar subversion at mplayerhq.hu
Sun Feb 7 19:53:45 CET 2016


Author: reimar
Date: Sun Feb  7 19:53:44 2016
New Revision: 37617

Log:
configure: Fix symbol mangling check.

With options like -fsanitize=address the object
file might contain more than one symbol.
Pick the one that at least has the right name.
Probably not fool-proof but it seems to work
better at least.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Fri Feb  5 11:16:14 2016	(r37616)
+++ trunk/configure	Sun Feb  7 19:53:44 2016	(r37617)
@@ -2771,7 +2771,7 @@ cat > $TMPC << EOF
 int ff_extern;
 EOF
 cc_check -c || die "Symbol mangling check failed."
-sym=$($_nm -P -g $TMPEXE)
+sym=$($_nm -P -g $TMPEXE | grep ff_extern)
 extern_prefix=${sym%%ff_extern*}
 def_extern_asm="#define EXTERN_ASM $extern_prefix"
 def_extern_prefix="#define EXTERN_PREFIX \"$extern_prefix\""


More information about the MPlayer-cvslog mailing list