COMP: Restored shared local variable removed by previous change.

This commit is contained in:
Brad King 2007-03-27 23:15:59 -04:00
parent af95f61d76
commit 0e15f3412f
1 changed files with 3 additions and 0 deletions

View File

@ -1067,6 +1067,9 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
{
std::string flags;
std::string defFlags;
bool shared = ((target.GetType() == cmTarget::SHARED_LIBRARY) ||
(target.GetType() == cmTarget::MODULE_LIBRARY));
// Add the export symbol definition for shared library objects.
if(const char* exportMacro = target.GetExportMacro())
{