Skip to content

Commit 6b06d06

Browse files
committed
Fix DLL permissions for mingw.
1 parent 129e7dd commit 6b06d06

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

ChangeLog

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
2005-07-07 Bruno Haible <bruno@clisp.org>
1+
2005-07-08 Bruno Haible <bruno@clisp.org>
22

33
* Version 1.10 released.
44

5+
2005-07-08 Bruno Haible <bruno@clisp.org>
6+
7+
* m4/libtool.m4 (postinstall_cmds) [cygwin,mingw,pw32]: Make DLL
8+
executable after installing it.
9+
510
2005-07-07 Bruno Haible <bruno@clisp.org>
611

712
* configure.in: Bump version number.

libcharset/ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2005-07-08 Bruno Haible <bruno@clisp.org>
2+
3+
* m4/libtool.m4 (postinstall_cmds) [cygwin,mingw,pw32]: Make DLL
4+
executable after installing it.
5+
16
2005-07-07 Bruno Haible <bruno@clisp.org>
27

38
* configure.in: Bump version number.

libcharset/m4/libtool.m4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1227,7 +1227,8 @@ cygwin* | mingw* | pw32*)
12271227
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12281228
dldir=$destdir/`dirname \$dlpath`~
12291229
test -d \$dldir || mkdir -p \$dldir~
1230-
$install_prog $dir/$dlname \$dldir/$dlname'
1230+
$install_prog $dir/$dlname \$dldir/$dlname~
1231+
chmod a+x \$dldir/$dlname'
12311232
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12321233
dlpath=$dir/\$dldll~
12331234
$rm \$dlpath'

m4/libtool.m4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1227,7 +1227,8 @@ cygwin* | mingw* | pw32*)
12271227
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12281228
dldir=$destdir/`dirname \$dlpath`~
12291229
test -d \$dldir || mkdir -p \$dldir~
1230-
$install_prog $dir/$dlname \$dldir/$dlname'
1230+
$install_prog $dir/$dlname \$dldir/$dlname~
1231+
chmod a+x \$dldir/$dlname'
12311232
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12321233
dlpath=$dir/\$dldll~
12331234
$rm \$dlpath'

0 commit comments

Comments
 (0)