Fix DLL permissions on mingw.

This commit is contained in:
Bruno Haible 2005-07-08 13:07:02 +00:00
parent 2c60559e9b
commit d45e132de4
2 changed files with 7 additions and 1 deletions

View File

@ -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.

3
m4/libtool.m4 vendored
View 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'