This is the mail archive of the
cygwin
mailing list for the Cygwin project.
How to install-libLTLIBRARIES dll to bin?
- From: Reini Urban <rurban at x-ray dot at>
- To: The Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Tue, 28 Jul 2009 08:10:50 +0200
- Subject: How to install-libLTLIBRARIES dll to bin?
I have an issue with properly autotooled + libtoolized shared libraries
where the resulting dll should end up in bindir instead of libdir.
Can we cygwin-spezialize that either in automake or libtool?
The --mode=install $(DESTDIR)$(libdir) looks like a job for automake
but only libtool knows about the .dll
in contrast to the .dll.a .la and .a
Maybe libtool --mode=install can outsmart $libdir in the dll case.
Or better automake can check for the dll and install this into bindir.
Typical segment:
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
@$(NORMAL_INSTALL)
test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
if test -f $$p; then \
f=$(am__strip_dir) \
echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL)
$(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
$(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL)
$(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
else :; fi; \
done
(I also compiled ntfsprogs out of curiosity, and had the same first
hand experience as robert)
--
Reini Urban
http://phpwiki.org/ http://murbreak.at/
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple