mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
IOS: Fixes a crash of the create_project tool when the lib directory is not found
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user