delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <00bc01c2d922$41ba0260$78d96f83@pomello> |
From: | "Max Bowsher" <maxb AT ukf DOT net> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Libtool patch - installation of DLLs with ntsec |
Date: | Thu, 20 Feb 2003 20:54:27 -0000 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
I just found this in a forgotten corner of my hard drive. The issue it was created to solve was that DLLs are installed without execute permission, when ntsec is on. I haven't tested this recently, because I decided some time ago that nontsec made my life a whole lot easier, but it did work when I wrote it. Here it is, in case anyone wants it. --- /usr/autotool/devel/share/aclocal/libtool.m4.orig 2003-02-20 11:45:36.000000000 +0000 +++ /usr/autotool/devel/share/aclocal/libtool.m4 2003-02-20 11:50:52.000000000 +0000 @@ -1168,7 +1168,7 @@ 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' + `echo \$install_prog | sed -e '\'':a;s/\( -m [[0-7]]*\)6/\17/;s/\( -m [[0-7]]*\)4/\15/;ta'\''` $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |