aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Bénony2015-12-04 10:27:48 +0100
committerVincent Bénony2016-01-06 16:17:32 +0100
commit43f02471ea48806fda697380b82dcfd34f993ae1 (patch)
tree80544aea6aac70db5e3a1e14896a0a9835ef2f3c
parent3b5d14b51ad48f98d19132bda47096bab37fb873 (diff)
downloadscummvm-rg350-43f02471ea48806fda697380b82dcfd34f993ae1.tar.gz
scummvm-rg350-43f02471ea48806fda697380b82dcfd34f993ae1.tar.bz2
scummvm-rg350-43f02471ea48806fda697380b82dcfd34f993ae1.zip
IOS: Fixes a crash of the create_project tool when the lib directory is not found
-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