now can package ipa, still problems with signing
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
#include "runner.h"
|
||||
#include "c.h"
|
||||
#include "ld.h"
|
||||
#include "tier2/ifilesystem.h"
|
||||
|
||||
IFileSystem *filesystem;
|
||||
|
||||
void *LibFpcInit()
|
||||
{
|
||||
@@ -9,6 +12,12 @@ void *LibFpcInit()
|
||||
runner = (IRunner*)CreateInterface(RUNNER_INTERFACE_NAME, NULL);
|
||||
ccompiler = (ICCompiler*)CreateInterface(CLANG_C_COMPILER_INTERFACE_NAME, NULL);
|
||||
linker = (ILinker*)CreateInterface(CLANG_LINKER_INTERFACE_NAME, NULL);
|
||||
|
||||
void *pFilesystem = Plat_LoadLibrary("libfilesystem_std.so");
|
||||
CreateInterfaceFn pFilesystemFactory = Sys_GetFactory(pFilesystem);
|
||||
filesystem = (IFileSystem*)pFilesystemFactory(FILESYSTEM_INTERFACE_VERSION, NULL);
|
||||
filesystem->Init();
|
||||
V_printf("----- %p\n",filesystem);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user