From: Peter van Dijk Date: Tue, 1 Jul 2014 12:49:14 +0000 (+0200) Subject: remove .la files during make install X-Git-Tag: auth-3.4.0-rc1~108 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4d77a849dfaf36d165dba7545c0643408d516513;p=thirdparty%2Fpdns.git remove .la files during make install --- 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 + +