Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2005-10-04 22:40:15 +0400
committerZoltan Varga <vargaz@gmail.com>2005-10-04 22:40:15 +0400
commit109f027ec58aba06cedf837661ca33c2b758489c (patch)
tree0a223453da4c572f847a8596b2b1011943a600bf /configure.in
parent64421feaa7bf7703f7e44c554d3e355b8c5eeac6 (diff)
2005-10-04 Zoltan Varga <vargaz@freemail.hu>
* configure.in: Fix up problems with the latest libtool on win32. svn path=/trunk/mono/; revision=51194
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 9af467dc35e..c2520a5d275 100644
--- a/configure.in
+++ b/configure.in
@@ -1801,6 +1801,10 @@ runtime/Makefile
if test x$platform_win32 = xyes; then
# Get rid of 'cyg' prefixes in library names
sed -e "s/\/cyg\//\/\//" libtool > libtool.new; mv libtool.new libtool; chmod 755 libtool
+ # libtool seems to inherit -mno-cygwin from our CFLAGS, and uses it to compile its executable
+ # wrapper scripts which use exec(). gcc has no problem compiling+linking this, but the resulting
+ # executable doesn't work...
+ sed -e "s,-mno-cygwin,,g" libtool > libtool.new; mv libtool.new libtool; chmod 755 libtool
fi
(