Browse Source

Remove dependency to dynamic loader during bootstrap

Andy Cedilnik 23 years ago
parent
commit
a2eccb4203
2 changed files with 2 additions and 2 deletions
  1. 0 2
      Source/Makefile.in
  2. 2 0
      Source/cmakemain.cxx

+ 0 - 2
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)
 
 

+ 2 - 0
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;
 }