mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-26 00:32:02 +00:00
Elf2Mac: treat an empty RETRO68_REAL_LD environment variable as unset
This commit is contained in:
parent
ae4f1cfa1f
commit
9f4252d7f8
@ -91,7 +91,7 @@ int main(int argc, char *argv[])
|
||||
std::copy(argv + 1, argv+argc, std::back_inserter(args));
|
||||
realLdPath = string(argv[0]) + ".real";
|
||||
|
||||
if (char *path = getenv("RETRO68_REAL_LD"))
|
||||
if (char *path = getenv("RETRO68_REAL_LD"); path && path[0])
|
||||
realLdPath = path;
|
||||
|
||||
string outputFile = "a.out";
|
||||
|
Loading…
Reference in New Issue
Block a user