summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-10-29 19:32:06 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-10-29 19:32:06 (GMT)
commit674349caed7665ac4acebe5bdb4dddf58c8a3d6d (patch)
tree45f6c7276670eb957bb8d6534919685affd0c142 /Source
parent901dc9d49f8cb978eb81315a70686b785623d563 (diff)
downloadCMake-674349caed7665ac4acebe5bdb4dddf58c8a3d6d.zip
CMake-674349caed7665ac4acebe5bdb4dddf58c8a3d6d.tar.gz
CMake-674349caed7665ac4acebe5bdb4dddf58c8a3d6d.tar.bz2
FIX: fix shared flag
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index a454e52..6e58e9c 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -1004,7 +1004,7 @@ void cmLocalGenerator::GetTargetFlags(std::string& linkLibs,
langVar += linkLanguage;
std::string flagsVar = langVar + "_FLAGS";
std::string sharedFlagsVar = "CMAKE_SHARED_LIBRARY_";
- sharedFlagsVar += langVar;
+ sharedFlagsVar += linkLanguage;
sharedFlagsVar += "_FLAGS";
flags += m_Makefile->GetSafeDefinition(flagsVar.c_str());
flags += " ";