[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: libtool 1.5.14 on mingw: DLLs must be installed executable

From: Ralf Wildenhues
Subject: FYI: libtool 1.5.14 on mingw: DLLs must be installed executable
Date: Fri, 8 Jul 2005 17:03:20 +0200
User-agent: Mutt/1.4.1i

* Bruno Haible wrote on Fri, Jul 08, 2005 at 04:38:16PM CEST:
> Ralf Wildenhues wrote:
> > Erm, the fix is fine, but what caused the breakage in the first place?
> > Surely this hasn't been broken all the time?
> For me, it has been broken all the time: It's the first time I've succeeded
> building a working DLL with mingw and libtool 1.5.x.
> Maybe something about my setup is particular: it's Windows XP, NTFS, with
> "security" permission settings that have been modified by someone else. In
> other words, it may be not the default config, but it's a config you can
> easily end up with, without seeing other obvious breakage.

OK.  Applied to all three branches (patch against branch-2-0/HEAD
below).  Thanks!


2005-07-08  Bruno Haible  <address@hidden>

        * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) <postinstall_cmds>
        [cygwin,mingw,pw32]: Make DLL executable after installing it.

Index: m4/libtool.m4
RCS file: /cvsroot/libtool/libtool/m4/libtool.m4,v
retrieving revision
diff -u -r1.125.2.65 libtool.m4
--- m4/libtool.m4       3 Jul 2005 18:15:30 -0000
+++ m4/libtool.m4       8 Jul 2005 14:56:47 -0000
@@ -1817,6 +1817,7 @@
       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 \$?;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]