mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +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
9aadf1d411
commit
130e8f5592
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-01-05 17:58-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Source/NSBundle.m: Use CFBundleExecutable if NSExecutable isn't
|
||||
present when loading the bundle object code.
|
||||
|
||||
2009-01-05 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSKeyValueObserving.m (-overrideSetterFor:): Only output
|
||||
|
|
|
@ -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…
Reference in a new issue