Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
fe12c564
Commit
fe12c564
authored
Dec 14, 2006
by
damienf
Browse files
- bootstrap: patch libtool on cygwin to prevent linking shared library as '.dll.exe' files
parent
71c0c5cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
bootstrap
View file @
fe12c564
...
...
@@ -448,6 +448,23 @@ if test -f "ltmain.sh"; then
mv ltmain.sh autotools/
fi
# patch for DLL link for libtool on cygwin (remove when fixed)
if test ".`uname -s|sed -n '/^CYGWIN/p'`" != "."; then
patch -s -p0 << 'EOF'
--- autotools/ltmain.orig 2006-12-05 15:15:42.064607000 +0000
+++ autotools/ltmain.sh 2006-12-05 15:16:24.705777800 +0000
@@ -4360,7 +4360,7 @@
prog)
case $host in
- *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
+ *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,;s,.dll.exe$,.dll,'` ;;
esac
if test -n "$vinfo"; then
$echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
EOF
fi
# Do the rest
${autopoint}
-f
${aclocal}
${ACLOCAL_ARGS}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment