Allow to supply searchpath defines as simple values instead of escaped C strings.

This commit is contained in:
Oliver Schmidt
2013-04-27 16:54:09 +02:00
parent 9d6ab944b8
commit ede72d78b2
4 changed files with 9 additions and 5 deletions

View File

@@ -71,13 +71,13 @@ void InitSearchPaths (void)
/* Add some compiled in search paths if defined at compile time */
#if defined(LD65_LIB)
AddSearchPath (LibSearchPath, LD65_LIB);
AddSearchPath (LibSearchPath, STRINGIZE (LD65_LIB));
#endif
#if defined(LD65_OBJ)
AddSearchPath (ObjSearchPath, LD65_OBJ);
AddSearchPath (ObjSearchPath, STRINGIZE (LD65_OBJ));
#endif
#if defined(LD65_CFG)
AddSearchPath (CfgSearchPath, LD65_CFG);
AddSearchPath (CfgSearchPath, STRINGIZE (LD65_CFG));
#endif
/* Add specific paths from the environment */