mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 12:16:40 +00:00
Another path fix
This commit is contained in:
parent
cead13c823
commit
c739ac81bd
4 changed files with 83 additions and 5 deletions
|
@ -496,7 +496,8 @@ GSPrivateStrExternalize(GSStr s) GS_ATTRIB_PRIVATE;
|
|||
* module. So it returns the full filesystem path for shared libraries
|
||||
* and bundles (which is very nice), but unfortunately it returns
|
||||
* argv[0] (which might be something as horrible as './obj/test')
|
||||
* for classes in the main executable.
|
||||
* for classes in the main executable. In this case we return the
|
||||
* full path to the executable rather than the value from the linker.
|
||||
*
|
||||
* Currently, the function will return nil if any of the following
|
||||
* conditions is satisfied:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue