From b21b675b714735de723d7d2e5602e11f75644c41 Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Mon, 3 Dec 2007 01:16:57 +0000 Subject: [PATCH] check whether ld supports -Bsymbolic before using it git-svn-id: svn://svn.videolan.org/x264/trunk@707 df754926-b1dd-0310-bc7b-ec298dee348c --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3