From 4d77a849dfaf36d165dba7545c0643408d516513 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Tue, 1 Jul 2014 14:49:14 +0200 Subject: [PATCH] remove .la files during make install --- Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile.am b/Makefile.am index 2e08c1f842..7001dc2df2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -31,3 +31,10 @@ install-exec-local: @echo "***********************************************************" +# remove .la files. We don't need them, because we use dlopen, not libltdl. +# If we ever switch to libltdl (to support dynamic loading on OSX, perhaps) +# remove this hook. +install-exec-hook: + find $(DESTDIR)$(pkglibdir) -type f -name \*.la -delete + + -- 2.47.2