From 459dfc753174bfb91c794addb62707b3216914cd Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 27 Jun 2001 15:09:22 -0400 Subject: [PATCH] BUG: Check for building shared libraries should read from makefile's setting, not directly from the cache. --- Source/cmDSPWriter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx index b936a1134..76dc2077a 100644 --- a/Source/cmDSPWriter.cxx +++ b/Source/cmDSPWriter.cxx @@ -89,7 +89,7 @@ void cmDSPWriter::OutputDSPFile() // Create the DSP or set of DSP's for libraries and executables m_LibraryBuildType = STATIC_LIBRARY; - if(cmCacheManager::GetInstance()->IsOn("BUILD_SHARED_LIBS")) + if(!cmSystemTools::IsOff(m_Makefile->GetDefinition("BUILD_SHARED_LIBS"))) { m_LibraryBuildType = DLL; }