From fe7e016fdc4c9118ee1f8b3083f27487a31a0484 Mon Sep 17 00:00:00 2001 From: Jules Villard Date: Mon, 21 May 2018 10:01:12 -0700 Subject: [PATCH] [make] do not install clang archive libraries Summary: They are not needed to run clang and our clang plugin. Reviewed By: mbouaziz Differential Revision: D8076205 fbshipit-source-id: 450e816 --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 90bd5b30b..d17c1617f 100644 --- a/Makefile +++ b/Makefile @@ -492,11 +492,11 @@ endif ifeq ($(BUILD_C_ANALYZERS),yes) $(INSTALL_DATA) -C 'facebook-clang-plugins/libtooling/build/FacebookClangPlugin.dylib' \ '$(DESTDIR)$(libdir)/infer/facebook-clang-plugins/libtooling/build/FacebookClangPlugin.dylib' - find facebook-clang-plugins/clang/install -not -type d -print0 | xargs -0 -I \{\} \ - $(INSTALL_PROGRAM) -C \{\} '$(DESTDIR)$(libdir)'/infer/\{\} + find facebook-clang-plugins/clang/install -not -type d -not -name '*.a' -print0 \ + | xargs -0 -I \{\} $(INSTALL_PROGRAM) -C \{\} '$(DESTDIR)$(libdir)'/infer/\{\} find infer/lib/clang_wrappers/* -print0 | xargs -0 -I \{\} \ $(INSTALL_PROGRAM) -C \{\} '$(DESTDIR)$(libdir)'/infer/\{\} -# only for files that point to infer +# only for files that point to infer (cd '$(DESTDIR)$(libdir)/infer/infer/lib/wrappers/' && \ $(foreach cc,$(shell find '$(LIB_DIR)/wrappers' -type l), \ [ $(cc) -ef '$(INFER_BIN)' ] && \