summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-02-16 12:14:13 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-02-16 12:14:13 +0000
commit7a00ff3830ac1cbce008e02abb5f513cbc64e19d (patch)
treeeafa5915ed795629c7c9eaab18d5d8df5c8e501b
parent7ca96d109f9a3065f780f2df4c3dba098bd1848f (diff)
downloadbcm5719-llvm-7a00ff3830ac1cbce008e02abb5f513cbc64e19d.tar.gz
bcm5719-llvm-7a00ff3830ac1cbce008e02abb5f513cbc64e19d.zip
LLVMExports.cmake: Add System libs $(LIBS) to LLVMSupport, corresponding to r201077.
llvm-svn: 201489
-rw-r--r--llvm/cmake/modules/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/cmake/modules/Makefile b/llvm/cmake/modules/Makefile
index bda28c9ce66..055e9358601 100644
--- a/llvm/cmake/modules/Makefile
+++ b/llvm/cmake/modules/Makefile
@@ -71,6 +71,8 @@ $(PROJ_OBJ_DIR)/LLVMExports.cmake: $(LLVMBuildCMakeExportsFrag)
echo 'set_property(TARGET '"$$lib"' PROPERTY IMPORTED_LOCATION "'"$(PROJ_libdir)/lib$$lib.a"'")' ; \
done && \
cat "$(LLVMBuildCMakeExportsFrag)" \
+ && echo '# System libs depend on LLVMSupport.' \
+ && echo 'set_property(TARGET LLVMSupport PROPERTY IMPORTED_LINK_INTERFACE_LIBRARIES $(patsubst -l%,%,$(LIBS)))' \
) | grep -v gtest > $@
all-local:: $(addprefix $(PROJ_OBJ_DIR)/, $(OBJMODS))
OpenPOWER on IntegriCloud