Don't use hardcoded paths on Amiga

Hardcoded paths don't make sense on AmigaOS, AROS and MorphOS.
This commit is contained in:
Ola Söder
2023-04-07 23:44:30 +02:00
parent 19349acdcf
commit 2a7533268c
4 changed files with 6 additions and 6 deletions

View File

@@ -1216,7 +1216,7 @@ static void OptPrintTargetPath (const char* Opt attribute ((unused)),
SearchPaths* TargetPaths = NewSearchPath ();
AddSubSearchPathFromEnv (TargetPaths, "CC65_HOME", "target");
#if defined(CL65_TGT) && !defined(_WIN32)
#if defined(CL65_TGT) && !defined(_WIN32) && !defined(_AMIGA)
AddSearchPath (TargetPaths, CL65_TGT);
#endif
AddSubSearchPathFromBin (TargetPaths, "target");