IOS: Fixes a crash of the create_project tool when the lib directory is not found
This commit is contained in:
parent
3b5d14b51a
commit
43f02471ea
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue