From cc0386f7eae931d39e5bc0582a90c248e47f655a Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 26 Nov 2007 10:01:49 -0500 Subject: [PATCH] BUG: Fixed computation of 'object' name for MACOSX_PACKAGE_LOCATION source files. --- Source/cmLocalUnixMakefileGenerator3.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 285b2d1e6..f08018edd 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -1724,8 +1724,8 @@ cmLocalUnixMakefileGenerator3 } obj += fileTargetDirectory; - obj = cmSystemTools::RelativePath - (this->Makefile->GetHomeOutputDirectory(), obj.c_str()); + // Object names are specified relative to the current build dir. + obj = this->Convert(obj.c_str(), START_OUTPUT); obj += "/"; obj += objectName; return obj;