mirror of
https://github.com/autc04/Retro68.git
synced 2026-04-26 11:27:07 +00:00
Elf2Mac: treat an empty RETRO68_REAL_LD environment variable as unset
This commit is contained in:
+1
-1
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user