2
0
mirror of git://git.savannah.gnu.org/libtool.git synced 2025-02-17 15:10:02 +08:00

* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) <postinstall_cmds>

[cygwin,mingw,pw32]: Make DLL executable after installing it.
This commit is contained in:
Bruno Haible 2005-07-08 14:59:59 +00:00 committed by Ralf Wildenhues
parent 4efdab0b16
commit facc2c547a
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-07-08 Bruno Haible <bruno@clisp.org>
* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) <postinstall_cmds>
[cygwin,mingw,pw32]: Make DLL executable after installing it.
2005-07-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* config/ltmain.m4sh (func_mode_install): Do not assume `-f'

5
m4/libtool.m4 vendored
View File

@ -1239,7 +1239,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
# nice to cause kernel panics so lets avoid the loop below.
# First set a reasonable default.
lt_cv_sys_max_cmd_len=16384
#
#
if test -x /sbin/sysconfig; then
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
*1*) lt_cv_sys_max_cmd_len=-1 ;;
@ -1837,6 +1837,7 @@ cygwin* | mingw* | pw32*)
dldir=$destdir/`dirname \$dlpath`~
test -d \$dldir || mkdir -p \$dldir~
$install_prog $dir/$dlname \$dldir/$dlname~
chmod a+x \$dldir/$dlname~
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
fi'
@ -3653,7 +3654,7 @@ m4_if([$1], [CXX], [
if test "$with_gnu_ld" = yes; then
# If archive_cmds runs LD, not CC, wlarc should be empty
wlarc='${wl}'
# Set some defaults for GNU ld with shared library support. These
# are reset later if shared libraries are not supported. Putting them
# here allows them to be overridden if necessary.