mirror of
https://github.com/cc65/cc65.git
synced 2025-08-08 22:25:28 +00:00
rename AddSubSearchPathFromWinBin to AddSubSearchPathFromBin
This commit is contained in:
@@ -80,5 +80,5 @@ void FinishIncludePaths (void)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Add paths relative to the parent directory of the Windows binary. */
|
/* Add paths relative to the parent directory of the Windows binary. */
|
||||||
AddSubSearchPathFromWinBin (IncSearchPath, "asminc");
|
AddSubSearchPathFromBin (IncSearchPath, "asminc");
|
||||||
}
|
}
|
||||||
|
@@ -81,5 +81,5 @@ void FinishIncludePaths (void)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Add paths relative to the parent directory of the Windows binary. */
|
/* Add paths relative to the parent directory of the Windows binary. */
|
||||||
AddSubSearchPathFromWinBin (SysIncSearchPath, "include");
|
AddSubSearchPathFromBin (SysIncSearchPath, "include");
|
||||||
}
|
}
|
||||||
|
@@ -1218,7 +1218,7 @@ static void OptPrintTargetPath (const char* Opt attribute ((unused)),
|
|||||||
#if defined(CL65_TGT) && !defined(_WIN32)
|
#if defined(CL65_TGT) && !defined(_WIN32)
|
||||||
AddSearchPath (TargetPaths, CL65_TGT);
|
AddSearchPath (TargetPaths, CL65_TGT);
|
||||||
#endif
|
#endif
|
||||||
AddSubSearchPathFromWinBin (TargetPaths, "target");
|
AddSubSearchPathFromBin (TargetPaths, "target");
|
||||||
|
|
||||||
TargetPath = GetSearchPath (TargetPaths, 0);
|
TargetPath = GetSearchPath (TargetPaths, 0);
|
||||||
while (*TargetPath) {
|
while (*TargetPath) {
|
||||||
|
@@ -274,7 +274,7 @@ static char* GetProgPath(char* pathbuf, char* a0)
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void AddSubSearchPathFromWinBin (SearchPaths* P, const char* SubDir)
|
void AddSubSearchPathFromBin (SearchPaths* P, const char* SubDir)
|
||||||
{
|
{
|
||||||
/* Windows only:
|
/* Windows only:
|
||||||
** Add a search path from the running binary, adding a subdirectory to
|
** Add a search path from the running binary, adding a subdirectory to
|
||||||
|
@@ -75,9 +75,8 @@ void AddSubSearchPathFromEnv (SearchPaths* P, const char* EnvVar, const char* Su
|
|||||||
** the environment variable value.
|
** the environment variable value.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void AddSubSearchPathFromWinBin (SearchPaths* P, const char* SubDir);
|
void AddSubSearchPathFromBin (SearchPaths* P, const char* SubDir);
|
||||||
/* Windows only:
|
/* Add a search path from the running binary, adding a subdirectory to
|
||||||
** Add a search path from the running binary, adding a subdirectory to
|
|
||||||
** the parent directory of the directory containing the binary.
|
** the parent directory of the directory containing the binary.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@@ -99,7 +99,7 @@ void InitSearchPaths (void)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Add paths relative to the parent directory of the Windows binary. */
|
/* Add paths relative to the parent directory of the Windows binary. */
|
||||||
AddSubSearchPathFromWinBin (LibDefaultPath, "lib");
|
AddSubSearchPathFromBin (LibDefaultPath, "lib");
|
||||||
AddSubSearchPathFromWinBin (ObjDefaultPath, "lib");
|
AddSubSearchPathFromBin (ObjDefaultPath, "lib");
|
||||||
AddSubSearchPathFromWinBin (CfgDefaultPath, "cfg");
|
AddSubSearchPathFromBin (CfgDefaultPath, "cfg");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user