From: Tom Harper Date: Fri, 22 Dec 2006 05:20:47 +0000 (+0000) Subject: Fix linking on Intel Mac due to local relocation entries in X-Git-Tag: v0.5~10721 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5e49e7628fc7551cdf993f6138c761cf3a8a7ca4;p=platform%2Fupstream%2Flibav.git Fix linking on Intel Mac due to local relocation entries in non-writable sections. patch by Tom Harper d.thomas.harper gmail com Originally committed as revision 7354 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/configure b/configure index 4a4daf6..0fc4124 100755 --- a/configure +++ b/configure @@ -753,7 +753,7 @@ video4linux2="no" audio_oss="no" dv1394="no" need_memalign="no" -SHFLAGS="-dynamiclib -Wl,-single_module -Wl,-install_name,\$(shlibdir)/\$(SLIBNAME),-current_version,\$(SPPVERSION),-compatibility_version,\$(SPPVERSION)" +SHFLAGS="-dynamiclib -Wl,-single_module -Wl,-install_name,\$(shlibdir)/\$(SLIBNAME),-current_version,\$(SPPVERSION),-compatibility_version,\$(SPPVERSION) -read_only_relocs suppress" VHOOKSHFLAGS='-dynamiclib -Wl,-single_module -flat_namespace -undefined suppress -Wl,-install_name,$(shlibdir)/vhook/$@' extralibs="" strip="strip -x"