Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
additional libtool lubrication for windows build
Browse files Browse the repository at this point in the history
This is related to COUCHDB-1197
Thanks Dave Cottlehuber for the patch

Backport of r1166438

git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1166439 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
tilgovi committed Sep 7, 2011
1 parent 840cb72 commit 61ca44e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions configure.ac
Expand Up @@ -427,10 +427,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

Expand Down

0 comments on commit 61ca44e

Please sign in to comment.