[PATCH acecad] Don't install libtool's .la file. (bug 4898)
Jesse Adkins
jesserayadkins at gmail.com
Fri Nov 26 14:05:23 PST 2010
.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
--
1.7.1
More information about the xorg-devel
mailing list