This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: libtool problem when installing packages with modules
On Dec 10 16:47, Peter Rosin wrote:
> Den 2010-12-10 16:11 skrev Corinna Vinschen:
> > Obviously it would be nice if libtool had an option to do it right in
> > `make install'. For instance, some '-install-as-module' option which
> > results in copying only the DLLs to $(libexecdir)/syslog-ng, but which
> > omits the .dll.a and .la files since they are note required anyway.
> > Something like that doesn't exist, I assume. WOuld it be an option
> > to implement this?
>
> IIRC, libtool should not do the ../bin dance when it installs libtool
> modules, so I can only assume that these syslog-ng modules are not built
> as libtool modules, but instead as ordinary libtool libraries. Does
> syslog-ng supply the -module option to libtool?
No, it doesn't. I just tested it and -module does basically the right
thing, except that it still copies the .dll.a and .la files to the
target directory.
Anyway, thanks for the hint!
How do I add this to Makefile.am? Does AM_LDFLAGS make sense for this?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat