This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Libtool patch - installation of DLLs with ntsec
- From: "Max Bowsher" <maxb at ukf dot net>
- To: <cygwin at cygwin dot com>
- Date: Thu, 20 Feb 2003 20:54:27 -0000
- Subject: Libtool patch - installation of DLLs with ntsec
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/