[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Way to install only shared libraries
From: |
Stephen Torri |
Subject: |
Re: Way to install only shared libraries |
Date: |
29 May 2003 16:46:58 -0500 |
On Thu, 2003-05-29 at 16:14, Assar Westerlund wrote:
> 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:
>
> install-exec-hook:
> @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
> rm $(DESTDIR)$(libdir)/$$p; \
> done
At present this is what is being done. I was just curious if there was a
cleaner method via a configure.ac file option.
> to your Makefile.am
>
> b) override install-libLTLIBRARIES but that's uglier.
>
> c) add an option to libtool to not install the .la file and then have
> you Makefile.am use that.
Option C looks better. What did you have in mind?
Stephen
--
Stephen Torri <address@hidden>
signature.asc
Description: This is a digitally signed message part