.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 <jesserayadk...@gmail.com>
---
 Makefile.am |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 4c278ba..1f5a947 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)/apm_drv.la
-- 
1.7.1

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to