mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
ignore framework version on windows ... not supported
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22448 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
45bf6a1f8f
commit
d684f59787
2 changed files with 4 additions and 0 deletions
|
@ -1315,10 +1315,12 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
|
|||
{
|
||||
NSString *rootPath;
|
||||
|
||||
#if !defined(__MINGW32__)
|
||||
if (_frameworkVersion)
|
||||
rootPath = [NSString stringWithFormat:@"%@/Versions/%@", [self bundlePath],
|
||||
_frameworkVersion];
|
||||
else
|
||||
#endif
|
||||
rootPath = [self bundlePath];
|
||||
|
||||
return [NSBundle pathForResource: name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue