[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Way to install only shared libraries

From: Assar Westerlund
Subject: Re: Way to install only shared libraries
Date: 29 May 2003 17:14:31 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Stephen Torri <address@hidden> writes:
> I am on a project that would like to only install shared library files
> (.so) but not the .la files. I tried to put AC_DISABLED_STATIC  and then
> AM_DISABLED_STATIC into the configure to do this. Neither declaration
> worked. Is there a method for doing what we want?

There is no good method.  You could do any of these:

a) add:

        @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
          rm $(DESTDIR)$(libdir)/$$p; \

to your

b) override install-libLTLIBRARIES but that's uglier.

c) add an option to libtool to not install the .la file and then have
you use that.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]