From: Loren Merritt Date: Mon, 3 Dec 2007 01:16:57 +0000 (+0000) Subject: check whether ld supports -Bsymbolic before using it X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=b21b675b714735de723d7d2e5602e11f75644c41;p=x264.git check whether ld supports -Bsymbolic before using it git-svn-id: svn://svn.videolan.org/x264/trunk@707 df754926-b1dd-0310-bc7b-ec298dee348c --- diff --git a/configure b/configure index 136b8361..aff77e9a 100755 --- a/configure +++ b/configure @@ -396,7 +396,7 @@ if [ "$pic" = "yes" ] ; then CFLAGS="$CFLAGS -fPIC" ASFLAGS="$ASFLAGS -D__PIC__" # resolve textrels in the x86 asm - LDFLAGS="$LDFLAGS -Wl,-Bsymbolic" + cc_check stdio.h -Wl,-Bsymbolic && LDFLAGS="$LDFLAGS -Wl,-Bsymbolic" fi if [ "$debug" != "yes" -a "$gprof" != "yes" ]; then