From: Loren Merritt Date: Sun, 25 Nov 2007 12:38:19 +0000 (+0000) Subject: fix compilation as a shared library on x86_64 (regression in r696) X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=beeedbd05790c7205e046d8b36ee19b7fd3a07ea;p=x264.git fix compilation as a shared library on x86_64 (regression in r696) git-svn-id: svn://svn.videolan.org/x264/trunk@701 df754926-b1dd-0310-bc7b-ec298dee348c --- diff --git a/configure b/configure index 8d30b828..136b8361 100755 --- a/configure +++ b/configure @@ -395,6 +395,8 @@ fi if [ "$pic" = "yes" ] ; then CFLAGS="$CFLAGS -fPIC" ASFLAGS="$ASFLAGS -D__PIC__" + # resolve textrels in the x86 asm + LDFLAGS="$LDFLAGS -Wl,-Bsymbolic" fi if [ "$debug" != "yes" -a "$gprof" != "yes" ]; then