summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2005-07-08 13:07:02 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:12:38 +0200
commitd45e132de48da8529ca269137581a58d60f2b0ad (patch)
tree9f714c083d7c7411de5fda8ba83cdb76dfa568d8
parent2c60559e9b983bc9f5ebb215612379a4c0a8ecde (diff)
downloadexternal_gettext-d45e132de48da8529ca269137581a58d60f2b0ad.zip
external_gettext-d45e132de48da8529ca269137581a58d60f2b0ad.tar.gz
external_gettext-d45e132de48da8529ca269137581a58d60f2b0ad.tar.bz2
Fix DLL permissions on mingw.
-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'