Changeset fe12c564e835d961d197216fc2e0c08cc8636353

Show
Ignore:
Timestamp:
12/14/06 14:53:31 (2 years ago)
Author:
Damien Fouilleul <damienf@videolan.org>
git-committer:
Damien Fouilleul <damienf@videolan.org> 1166104411 +0000
git-parent:

[71c0c5cbf613d616d4c45bc1a3fce31d740d5823]

git-author:
Damien Fouilleul <damienf@videolan.org> 1166104411 +0000
Message:

- bootstrap: patch libtool on cygwin to prevent linking shared library as '.dll.exe' files

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • bootstrap

    ra7a199e rfe12c56  
    449449fi 
    450450 
     451# patch for DLL link for libtool on cygwin (remove when fixed) 
     452if test ".`uname -s|sed -n '/^CYGWIN/p'`" != "."; then 
     453patch -s -p0 << 'EOF' 
     454--- autotools/ltmain.orig   2006-12-05 15:15:42.064607000 +0000 
     455+++ autotools/ltmain.sh 2006-12-05 15:16:24.705777800 +0000 
     456@@ -4360,7 +4360,7 @@ 
     457  
     458     prog) 
     459       case $host in 
     460-   *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;; 
     461+   *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,;s,.dll.exe$,.dll,'` ;; 
     462       esac 
     463       if test -n "$vinfo"; then 
     464    $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2 
     465EOF 
     466fi 
     467 
    451468# Do the rest 
    452469${autopoint} -f