couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rand...@apache.org
Subject svn commit: r1166438 - /couchdb/trunk/configure.ac
Date Wed, 07 Sep 2011 22:06:40 GMT
Author: randall
Date: Wed Sep  7 22:06:40 2011
New Revision: 1166438

URL: http://svn.apache.org/viewvc?rev=1166438&view=rev
Log:
additional libtool lubrication for windows build

This is related to COUCHDB-1197
Thanks Dave Cottlehuber for the patch

Modified:
    couchdb/trunk/configure.ac

Modified: couchdb/trunk/configure.ac
URL: http://svn.apache.org/viewvc/couchdb/trunk/configure.ac?rev=1166438&r1=1166437&r2=1166438&view=diff
==============================================================================
--- couchdb/trunk/configure.ac (original)
+++ couchdb/trunk/configure.ac Wed Sep  7 22:06:40 2011
@@ -532,10 +532,12 @@ AC_OUTPUT
 # PLEASE, someone help put this out of its misery!!
 # This hackery is being tracked via COUCHDB-440.
 if test x${IS_WINDOWS} = xTRUE; then
-    sed -e 's,libname_spec="lib\\$name",libname_spec="\\\$name",' \
+    mv libtool libtool.dist
+    sed -E -e 's,libname_spec="lib\\$name",libname_spec="\\\$name",' \
         -e 's,-link,,' \
-        < libtool > libtool.tmp
-    mv libtool.tmp libtool
+        -e 's/-Xlinker --out-implib -Xlinker \\\$lib//' \
+        -e 's/(-shared -nostdlib)/-dll \1/' \
+        < libtool.dist > libtool
     # probably would chmod +x if we weren't on windows...
 fi
 



Mime
View raw message