mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-02 17:41:05 +00:00
Better configuration, gui will compile without DPS
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2954 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1572c3e3da
commit
b8fca3dc09
5 changed files with 12 additions and 2 deletions
|
@ -280,6 +280,10 @@ _bundle_load_callback(Class theClass, Category *theCategory)
|
|||
s = [path lastPathComponent];
|
||||
if ([s isEqual: gnustep_target_cpu])
|
||||
path = [path stringByDeletingLastPathComponent];
|
||||
/* object dir */
|
||||
s = [path lastPathComponent];
|
||||
if ([s hasSuffix: @"_obj"])
|
||||
path = [path stringByDeletingLastPathComponent];
|
||||
|
||||
NSDebugLLog(@"NSBundle", @"(NSBundle): Found main in %@\n", path);
|
||||
/* We do alloc and init separately so initWithPath: knows
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue