1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

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
This commit is contained in:
Yaron Keren 2015-05-19 12:59:23 +00:00
parent b7e612b638
commit 3bde7c1cd0

View File

@ -91,7 +91,7 @@ function(add_llvm_symbol_exports target_name export_file)
set(CAT "cat") set(CAT "cat")
set(export_file_nativeslashes ${export_file}) set(export_file_nativeslashes ${export_file})
if(WIN32 AND NOT CYGWIN) if(WIN32 AND NOT CYGWIN AND NOT MSYS)
set(CAT "type") set(CAT "type")
# Convert ${export_file} to native format (backslashes) for "type" # Convert ${export_file} to native format (backslashes) for "type"
# Does not use file(TO_NATIVE_PATH) as it doesn't create a native # Does not use file(TO_NATIVE_PATH) as it doesn't create a native