aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devtools/create_project/xcode.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/devtools/create_project/xcode.cpp b/devtools/create_project/xcode.cpp
index 46e6bcd41b..02f2928bf9 100644
--- a/devtools/create_project/xcode.cpp
+++ b/devtools/create_project/xcode.cpp
@@ -443,7 +443,8 @@ void XcodeProvider::setupFrameworksBuildPhase(const BuildSetup &setup) {
std::string absoluteOutputDir;
#ifdef POSIX
- absoluteOutputDir = realpath((setup.outputDir + "/lib").c_str(), NULL);
+ absoluteOutputDir = realpath(setup.outputDir.c_str(), NULL);
+ absoluteOutputDir += "/lib";
#else
absoluteOutputDir = "lib";
#endif