Fix linking on Intel Mac due to local relocation entries in
authorTom Harper <d.thomas.harper@gmail.com>
Fri, 22 Dec 2006 05:20:47 +0000 (05:20 +0000)
committerDiego Biurrun <diego@biurrun.de>
Fri, 22 Dec 2006 05:20:47 +0000 (05:20 +0000)
non-writable sections.
patch by Tom Harper d.thomas.harper gmail com

Originally committed as revision 7354 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 4a4daf6..0fc4124 100755 (executable)
--- 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"