mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
* Source/NSBundle.m: Use CFBundleExecutable if NSExecutable isn't
present when loading the bundle object code. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27526 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d8f4ad6610
commit
b20626ad3f
2 changed files with 10 additions and 1 deletions
|
@ -2156,7 +2156,11 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
|
|||
object = [[self infoDictionary] objectForKey: @"NSExecutable"];
|
||||
if (object == nil || [object length] == 0)
|
||||
{
|
||||
return nil;
|
||||
object = [[self infoDictionary] objectForKey: @"CFBundleExecutable"];
|
||||
if(object == nil || [object length] == 0)
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
}
|
||||
if (_bundleType == NSBUNDLE_FRAMEWORK)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue