From a2eccb42034ff6679af6397cacc836a1ee5bbd89 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Tue, 1 Oct 2002 07:28:34 -0400 Subject: [PATCH] Remove dependency to dynamic loader during bootstrap --- Source/Makefile.in | 2 -- Source/cmakemain.cxx | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Makefile.in b/Source/Makefile.in index 57763b586..d44e29f3a 100644 --- a/Source/Makefile.in +++ b/Source/Makefile.in @@ -32,7 +32,6 @@ cmTarget.o \ cmCustomCommand.o \ cmCacheManager.o \ cmListFileCache.o \ -cmDynamicLoader.o \ cmSourceGroup.o DEPENDS = cmConfigure.h @@ -54,7 +53,6 @@ cmLocalUnixMakefileGenerator.o : $(DEPENDS) cmCommands.o : $(DEPENDS) $(srcdir)/*Command*.cxx cmTarget.o : $(DEPENDS) cmCacheManager.o : $(DEPENDS) -cmDynamicLoader.o : $(DEPENDS) cmSourceGroup.o : $(DEPENDS) diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx index 7086e8f80..81d58d4d0 100644 --- a/Source/cmakemain.cxx +++ b/Source/cmakemain.cxx @@ -25,7 +25,9 @@ int do_cmake(int ac, char** av); int main(int ac, char** av) { int ret = do_cmake(ac, av); +#ifdef CMAKE_BUILD_WITH_CMAKE cmDynamicLoader::FlushCache(); +#endif cmListFileCache::GetInstance()->ClearCache(); return ret; }