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

ChangeLog
libtool.m4

index af87d5c6e5d69223fb70e54542c35e4f37d4e5b4..984ce59e1c96d249622f0b2a639ab02a3f33b213 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-08  Bruno Haible  <bruno@clisp.org>
+
+       * libtool.m4 (postinstall_cmds) [cygwin,mingw,pw32]: Make DLL
+       executable after installing it.
+
 2005-07-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * ltmain.in (install mode): Do not assume `-f' needs an argument if
index cf89e0fc2389f38163bfb8674c46287dc5c12055..b5613e46556409d8f04e09604867e9d3b064b058 100644 (file)
@@ -731,7 +731,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 ;;
@@ -1275,7 +1275,8 @@ cygwin* | mingw* | pw32*)
       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
       dldir=$destdir/`dirname \$dlpath`~
       test -d \$dldir || mkdir -p \$dldir~
-      $install_prog $dir/$dlname \$dldir/$dlname'
+      $install_prog $dir/$dlname \$dldir/$dlname~
+      chmod a+x \$dldir/$dlname'
     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
       dlpath=$dir/\$dldll~
        $rm \$dlpath'
@@ -5249,7 +5250,7 @@ ifelse([$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.
@@ -5270,7 +5271,7 @@ ifelse([$1],[CXX],[
       *\ 2.11.*) ;; # other 2.11 versions
       *) supports_anon_versioning=yes ;;
     esac
-    
+
     # See if GNU ld supports shared libraries.
     case $host_os in
     aix3* | aix4* | aix5*)