1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-12 22:07:16 +00:00

Search config files also in the builtin search directory for libraries and in

the directory defined in the CC65_LIB environment variable.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4158 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2009-09-12 20:12:48 +00:00
parent 2b98ab38f7
commit df22cbf925

View File

@ -67,7 +67,7 @@ void InitSearchPaths (void)
AddSearchPath ("", SEARCH_LIB | SEARCH_OBJ | SEARCH_CFG);
/* Add a standard path for the libraries and objects */
AddSearchPath (CC65_LIB, SEARCH_LIB | SEARCH_OBJ);
AddSearchPath (CC65_LIB, SEARCH_LIB | SEARCH_OBJ | SEARCH_CFG);
/* Add paths from the environment */
AddSearchPathFromEnv ("LD65_LIB", SEARCH_LIB);
@ -75,7 +75,7 @@ void InitSearchPaths (void)
AddSearchPathFromEnv ("LD65_CFG", SEARCH_CFG);
/* Add compatibility stuff */
AddSearchPathFromEnv ("CC65_LIB", SEARCH_LIB | SEARCH_OBJ);
AddSearchPathFromEnv ("CC65_LIB", SEARCH_LIB | SEARCH_OBJ | SEARCH_CFG);
}