From: Bruno Haible Date: Fri, 8 Jul 2005 15:01:00 +0000 (+0000) Subject: * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9a5f8f7e17ec82ac251fefa3c24899a95e333b0;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 32bc35d70..4360b1a85 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 304f361b1..ee54dcf94 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -1219,7 +1219,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 ;; @@ -1817,6 +1817,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 $run eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' @@ -3633,7 +3634,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.