From df22cbf9258213acce28a21c9fe6fe61504c21f0 Mon Sep 17 00:00:00 2001 From: uz Date: Sat, 12 Sep 2009 20:12:48 +0000 Subject: [PATCH] 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 --- src/ld65/filepath.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ld65/filepath.c b/src/ld65/filepath.c index 8db735744..ad302d10a 100644 --- a/src/ld65/filepath.c +++ b/src/ld65/filepath.c @@ -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); } -- 2.39.5