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 | 7141b3d6f30e0a6d9aacdb6cba8f6a1362afb1a9 (patch) | |
tree | 0c1d2a11ff926d521e9db8cbff171b5a8ec863a9 /cmake | |
parent | dfce63b1ba6e024e88b81df12c685653709a089c (diff) |
Use cat and not type Under MSYS, same as Cygwin.
type means something else under the MSYS shell.
Patch by Tzafrir Poupko!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237692 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/AddLLVM.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index cc14061d7d8..85a09845b2e 100644 --- a/cmake/modules/AddLLVM.cmake +++ b/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 |