]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix DLL permissions on mingw.
authorBruno Haible <bruno@clisp.org>
Fri, 8 Jul 2005 13:07:02 +0000 (13:07 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:12:38 +0000 (12:12 +0200)
ChangeLog
m4/libtool.m4

index cea50d229a6012ccdc515b715b689fc9bebf1e4a..d55610644c6e7e430d5398e4096ca53971d4d1f9 100644 (file)
--- 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.
index 95f091121b643c30b4cdba77336bf35c2fdd2801..e690165039b6a16c70ea73f6bad9466060c68089 100644 (file)
@@ -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'