summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--m4/libtool.m43
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cea50d2..d556106 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-08 Bruno Haible <bruno@clisp.org>
+
+ * m4/libtool.m4 (postinstall_cmds) [cygwin,mingw,pw32]: Make DLL
+ executable after installing it.
+
2005-07-06 Bruno Haible <bruno@clisp.org>
* README.mingw: Remove file.
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 95f0911..e690165 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -1223,7 +1223,8 @@ cygwin* | mingw* | pw32*)
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
dldir=$destdir/`dirname \$dlpath`~
test -d \$dldir || mkdir -p \$dldir~
- $install_prog $dir/$dlname \$dldir/$dlname'
+ $install_prog $dir/$dlname \$dldir/$dlname~
+ chmod a+x \$dldir/$dlname'
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
dlpath=$dir/\$dldll~
$rm \$dlpath'