mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
tools/llvm-ld: Cygwin can handle #!shbang.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125165 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2710638db2
commit
fea2b517cf
@ -410,7 +410,7 @@ static int GenerateNative(const std::string &OutputFilename,
|
||||
static void EmitShellScript(char **argv, Module *M) {
|
||||
if (Verbose)
|
||||
errs() << "Emitting Shell Script\n";
|
||||
#if defined(_WIN32) || defined(__CYGWIN__)
|
||||
#if defined(_WIN32)
|
||||
// Windows doesn't support #!/bin/sh style shell scripts in .exe files. To
|
||||
// support windows systems, we copy the llvm-stub.exe executable from the
|
||||
// build tree to the destination file.
|
||||
|
Loading…
Reference in New Issue
Block a user