On 2014-09-28 03:51, Mike Gran wrote:
> Hello Libtool,
>
> I was lead to believe that if I use libtool to install
> a dll created on Cygwin using automake with a lib_LTLIBRARIES
> rule, that libtool would install the dll in /usr/bin and the
> linker and convenience libraries in /usr/lib. but I can't
> seem to get it to work.
>
> For example the libtool invocation below copies the dll into
> /usr/lib in the invocation below. This is with libtool 2.4.2.
>
> $ /usr/bin/libtool --mode=install install -c libguile-ncurses.la /usr/lib
>
> libtool: install: install -c .libs/libguile-ncurses.dll.a
> /usr/lib/libguile-ncurses.dll.a
> libtool: install: base_file=`basename libguile-ncurses.la`
> libtool: install: dlpath=`/bin/sh 2>&1 -c '. .libs/'libguile-ncurses.la'i;
> echo cygguile-ncurses-8.dll'`
> libtool: install: dldir=/usr/lib/`dirname cygguile-ncurses-8.dll`
> libtool: install: test -d /usr/lib/. || mkdir -p /usr/lib/.
> libtool: install: install -c .libs/cygguile-ncurses-8.dll
> /usr/lib/./cygguile-ncurses-8.dll
> libtool: install: chmod a+x /usr/lib/./cygguile-ncurses-8.dll
> libtool: install: if test -n '' && test -n 'strip --strip-unneeded'; then
> eval 'strip --strip-unneeded /usr/lib/./cygguile-ncurses-8.dll' || exit 0; fi
> libtool: install: install -c .libs/libguile-ncurses.lai
> /usr/lib/libguile-ncurses.la
> libtool: install: warning: remember to run `libtool --finish /usr/local/lib'
>
>
> The makefile for the code in question can be found here
> http://git.savannah.gnu.org/cgit/guile-ncurses.git/tree/ncurses/Makefile.am
>
> Any ideas?
My guess is that libguile-ncurses.la is a Libtool module. The move to ../bin
does not happen for modules, if I remember correctly.
Cheers,
Peter
___
https://lists.gnu.org/mailman/listinfo/libtool