Build and install the archive when building the Apple way.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135538 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/runtime/libprofile/Makefile b/runtime/libprofile/Makefile
index cf31e46..d851149 100644
--- a/runtime/libprofile/Makefile
+++ b/runtime/libprofile/Makefile
@@ -19,6 +19,10 @@
EXTRA_DIST = libprofile.exports
EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/libprofile.exports
+# Build and install this archive.
+BUILD_ARCHIVE = 1
+override NO_INSTALL_ARCHIVES =
+
include $(LEVEL)/Makefile.common
ifeq ($(HOST_OS),Darwin)