]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) <postinstall_cmds>
authorBruno Haible <bruno@clisp.org>
Fri, 8 Jul 2005 15:01:00 +0000 (15:01 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 8 Jul 2005 15:01:00 +0000 (15:01 +0000)
[cygwin,mingw,pw32]: Make DLL executable after installing it.

ChangeLog
m4/libtool.m4

index 32bc35d7010a2a3f9e3ebef1839f184567df320a..4360b1a8507f29b1635495657498cef2fe75b779 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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'
index 304f361b12317ff7c8cbbd9ed2e80925553433b1..ee54dcf94cf673571dc3f963485c17df7ef9a63b 100644 (file)
@@ -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.