mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Changes from Scott Christley. See ChangeLog Mar 4 10:47:18
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2295 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
47f8cb6098
commit
ec967cff6b
6 changed files with 24 additions and 26 deletions
|
@ -112,12 +112,6 @@ static NSString* platform =
|
|||
#else
|
||||
nil;
|
||||
#endif
|
||||
static NSString* gnustep_libdir =
|
||||
#ifdef GNUSTEP_INSTALL_LIBDIR
|
||||
@GNUSTEP_INSTALL_LIBDIR;
|
||||
#else
|
||||
nil;
|
||||
#endif
|
||||
|
||||
/* Declaration from find_exec.c */
|
||||
extern char *objc_find_executable(const char *name);
|
||||
|
@ -502,17 +496,6 @@ _bundle_load_callback(Class theClass, Category *theCategory)
|
|||
while ((language = [enumerate nextObject]))
|
||||
[array addObject: _bundle_resource_path(primary, bundlePath, language)];
|
||||
|
||||
if (gnustep_libdir)
|
||||
{
|
||||
primary = [NSString stringWithCString: [gnustep_libdir cString]];
|
||||
[array addObject: _bundle_resource_path(primary, bundlePath, nil)];
|
||||
enumerate = [languages objectEnumerator];
|
||||
while ((language = [enumerate nextObject]))
|
||||
[array addObject:
|
||||
_bundle_resource_path(primary, bundlePath, language)];
|
||||
}
|
||||
|
||||
|
||||
return array;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue