From: Bruno Haible Date: Fri, 8 Jul 2005 14:59:59 +0000 (+0000) Subject: * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) X-Git-Tag: release-2-1b~614 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=facc2c547a8f3d4b219968a842aa9e7f7b9d7fc1;p=thirdparty%2Flibtool.git * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [cygwin,mingw,pw32]: Make DLL executable after installing it. --- diff --git a/ChangeLog b/ChangeLog index 4e29d0197..a244630d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-07-08 Bruno Haible + + * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) + [cygwin,mingw,pw32]: Make DLL executable after installing it. + 2005-07-08 Ralf Wildenhues * config/ltmain.m4sh (func_mode_install): Do not assume `-f' diff --git a/m4/libtool.m4 b/m4/libtool.m4 index b00c78906..7068b012e 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -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.