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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=316150357332e6adcdaeea45950e1f5e94d0b7dc;p=libx264 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