[vlc-devel] commit: We require text relocation to be supported by ld ( Felix Paul Kühne )

git version control git at videolan.org
Sat Sep 20 15:12:22 CEST 2008


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Sep 20 14:32:53 2008 +0200| [d03dc723e09319748c20f5ab3045ede45206a53c] | committer: Felix Paul Kühne 

We require text relocation to be supported by ld

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d03dc723e09319748c20f5ab3045ede45206a53c
---

 extras/contrib/bootstrap |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/extras/contrib/bootstrap b/extras/contrib/bootstrap
index 0fcb9e5..1fbc2b0 100755
--- a/extras/contrib/bootstrap
+++ b/extras/contrib/bootstrap
@@ -153,7 +153,8 @@ case $HOST in
         echo "HAVE_DARWIN_OS_ON_INTEL = 1" >> config.mak
         echo "HAVE_DARWIN_9 = 1" >> config.mak
         if test `ld -v 2> /dev/stdout | sed -E 's/.*ld64-([0-9]+).*/\1/'` -lt ${MIN_LD_VERSION_WITH_TEXT_RELOCATION}; then
-            echo "NO_TEXT_RELOCATION = 1" >> config.mak
+            echo "ERROR: Your ld version is unable to compile VLC.\nUpdate to Xcode 3.1 or higher." >&2
+            exit 1
         fi
         echo "ENVP = MACOSX_DEPLOYMENT_TARGET=${SDK_TARGET}" >> config.mak
         echo "MACOSX_SDK = /Developer/SDKs/MacOSX10.4u.sdk" >> config.mak




More information about the vlc-devel mailing list