mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 22:47:39 +00:00
[findApplications] use hardcoded @GNUSTEP_INSTALL_PREFIX only for
non-GNUstep foundation library. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11598 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bd742ab762
commit
dfa743ae22
1 changed files with 6 additions and 0 deletions
|
@ -746,9 +746,15 @@ inFileViewerRootedAtPath: (NSString *)rootFullpath
|
|||
*/
|
||||
if (path == nil)
|
||||
{
|
||||
#ifdef GNUSTEP_BASE_LIBRARY
|
||||
path = RETAIN([[NSSearchPathForDirectoriesInDomains(
|
||||
GSToolsDirectory, NSSystemDomainMask, YES) objectAtIndex: 0]
|
||||
stringByAppendingPathComponent: @"make_services"]);
|
||||
#else
|
||||
path = RETAIN([[@GNUSTEP_INSTALL_PREFIX
|
||||
stringByAppendingPathComponent: @"Tools"]
|
||||
stringByAppendingPathComponent: @"make_services"]);
|
||||
#endif
|
||||
}
|
||||
task = [NSTask launchedTaskWithLaunchPath: path
|
||||
arguments: nil];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue