[PATCH acecad] Don't install libtool's .la file. (bug 4898)

Alan Coopersmith alan.coopersmith at oracle.com
Fri Nov 26 14:14:11 PST 2010


Jesse Adkins wrote:
> .la files are used for specifying library dependencies for static libraries.
> Since nobody builds against the .so, the .la is unnecessary.
> 
> Signed-off-by: Jesse Adkins <jesserayadkins at gmail.com>
> ---
>  Makefile.am |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/Makefile.am b/Makefile.am
> index 4c278ba..0fd1385 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -30,3 +30,7 @@ ChangeLog:
>  	$(CHANGELOG_CMD)
>  
>  dist-hook: ChangeLog INSTALL
> +
> +# Drivers are always loaded dynamically, so the .la is unneeded.
> +install-data-hook:
> +	$(AM_V_at)rm -f $(DESTDIR)$(moduledir)/acecad_drv.la

You missed changing moduledir to inputdir for the input drivers like acecad.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list