summaryrefslogtreecommitdiffstats
path: root/m4
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 /m4
parent2c60559e9b983bc9f5ebb215612379a4c0a8ecde (diff)
downloadexternal_gettext-d45e132de48da8529ca269137581a58d60f2b0ad.zip
external_gettext-d45e132de48da8529ca269137581a58d60f2b0ad.tar.gz
external_gettext-d45e132de48da8529ca269137581a58d60f2b0ad.tar.bz2
Fix DLL permissions on mingw.
Diffstat (limited to 'm4')
-rw-r--r--m4/libtool.m43
1 files changed, 2 insertions, 1 deletions
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'