diff options
| author | Yaron Keren <yaron.keren@gmail.com> | 2015-05-19 12:59:23 +0000 | 
|---|---|---|
| committer | Yaron Keren <yaron.keren@gmail.com> | 2015-05-19 12:59:23 +0000 | 
| commit | e6545937b6bcc001cadfb47b4f9ba942553b642c (patch) | |
| tree | f0a909612a992f87dc508e5ee0159700bbb3cf2e | |
| parent | 1d9c15cf188ef230083b7a15a35a649e70bf6f67 (diff) | |
| download | bcm5719-llvm-e6545937b6bcc001cadfb47b4f9ba942553b642c.tar.gz bcm5719-llvm-e6545937b6bcc001cadfb47b4f9ba942553b642c.zip | |
Use cat and not type Under MSYS, same as Cygwin.
type means something else under the MSYS shell.
Patch by Tzafrir Poupko!
llvm-svn: 237692
| -rw-r--r-- | llvm/cmake/modules/AddLLVM.cmake | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake index cc14061d7d8..85a09845b2e 100644 --- a/llvm/cmake/modules/AddLLVM.cmake +++ b/llvm/cmake/modules/AddLLVM.cmake @@ -91,7 +91,7 @@ function(add_llvm_symbol_exports target_name export_file)      set(CAT "cat")      set(export_file_nativeslashes ${export_file}) -    if(WIN32 AND NOT CYGWIN) +    if(WIN32 AND NOT CYGWIN AND NOT MSYS)        set(CAT "type")        # Convert ${export_file} to native format (backslashes) for "type"        # Does not use file(TO_NATIVE_PATH) as it doesn't create a native | 

