mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Use the new GNUSTEP_IS_FLATTENED variable, and default to flattened if nothing better specified
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23719 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cfaf083d90
commit
6aec2db2f8
7 changed files with 58 additions and 26 deletions
|
@ -111,9 +111,9 @@ static NSString *library_combo =
|
|||
#else
|
||||
nil;
|
||||
#endif
|
||||
static NSString *gnustep_flattened =
|
||||
#ifdef GNUSTEP_FLATTENED
|
||||
@GNUSTEP_FLATTENED;
|
||||
static NSString *gnustep_is_flattened =
|
||||
#ifdef GNUSTEP_IS_FLATTENED
|
||||
@GNUSTEP_IS_FLATTENED;
|
||||
#else
|
||||
nil;
|
||||
#endif
|
||||
|
@ -1647,7 +1647,7 @@ if (domainMask & mask) \
|
|||
NSString *part = nil;
|
||||
|
||||
gslibsDir = [libraryDir stringByAppendingPathComponent: libsDir];
|
||||
if ([gnustep_flattened boolValue] == NO
|
||||
if ([gnustep_is_flattened boolValue] == NO
|
||||
&& gnustep_target_cpu != nil && gnustep_target_os != nil)
|
||||
{
|
||||
part = [gnustep_target_cpu stringByAppendingPathComponent:
|
||||
|
@ -1684,7 +1684,7 @@ if (domainMask & mask) \
|
|||
NSString *full = nil;
|
||||
NSString *part = nil;
|
||||
|
||||
if ([gnustep_flattened boolValue] == NO
|
||||
if ([gnustep_is_flattened boolValue] == NO
|
||||
&& gnustep_target_cpu != nil && gnustep_target_os != nil)
|
||||
{
|
||||
part = [gnustep_target_cpu stringByAppendingPathComponent:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue