[PATCH xserver] xfree86: Don't install module .la files. (#4898)

Jesse Adkins jesserayadkins at gmail.com
Fri Nov 19 14:59:40 PST 2010


Signed-off-by: Jesse Adkins <jesserayadkins at gmail.com>
---
 hw/xfree86/i2c/Makefile.am |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/hw/xfree86/i2c/Makefile.am b/hw/xfree86/i2c/Makefile.am
index 0b80cc8..5e1b553 100644
--- a/hw/xfree86/i2c/Makefile.am
+++ b/hw/xfree86/i2c/Makefile.am
@@ -41,3 +41,13 @@ tda9885_drv_la_SOURCES = tda9885.c tda9885.h tda9885_module.c
 
 uda1380_drv_la_LDFLAGS = -module -avoid-version
 uda1380_drv_la_SOURCES = uda1380.c uda1380.h uda1380_module.c
+
+# We don't use the .la's, so remove them.
+install-data-hook:
+	rm -f $(moduledir)/multimedia/bt829_drv.la
+	rm -f $(moduledir)/multimedia/fi1236_drv.la
+	rm -f $(moduledir)/multimedia/msp3430_drv.la
+	rm -f $(moduledir)/multimedia/tda8425_drv.la
+	rm -f $(moduledir)/multimedia/tda9850_drv.la
+	rm -f $(moduledir)/multimedia/tda9885_drv.la
+	rm -f $(moduledir)/multimedia/uda1380_drv.la
-- 
1.7.1



More information about the xorg-devel mailing list