mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
minor windows(cygwin) fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23906 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cbf6072a6c
commit
90593a0dd2
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-10-19 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSBundle.m: Strip path extension from main bundle name on
|
||||
cygwin.
|
||||
|
||||
2006-10-18 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/Makefile.postamble:
|
||||
|
|
|
@ -938,7 +938,7 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
|
|||
the executable name here - just in case it turns out it's a
|
||||
tool. */
|
||||
NSString *toolName = [ExecutablePath() lastPathComponent];
|
||||
#if defined(__WIN32__)
|
||||
#if defined(__WIN32__) || defined(__CYGWIN__)
|
||||
toolName = [toolName stringByDeletingPathExtension];
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue